How the proper information is placed for each person

Assignment Help JAVA Programming
Reference no: EM13950634

I have an assignment due and am having issues with the first part (which is needed to do all of the other parts). I have the following VBA code written:
Private Sub DisplayData(strArray() As String)
Dim intFriend As Integer
For intFriend = 1 To mintNumFriends
Cells(intFriend + 1, 1).Value = strArray(1)
Cells(intFriend + 1, 2).Value = strArray(5)
Cells(intFriend + 1, 3).Value = strArray(6)
Cells(intFriend + 1, 6).Value = strArray(4)
Cells(intFriend + 1, 5).Value = strArray(3)
Cells(intFriend + 1, 4).Value = strArray(2)
Next intFriend

I understand how this works, but I don't know what numbers should be placed into the () for the strArray. The numbers coordinate with 6 pieces of personal information for intFriend 1. They are placed in A2-F2. My problem is that I have no idea how to change this information to apply to all the other friends (the current formula repeats friend 1's information for all the others). For example, friend 2's information involves Arrays 8-13, and friend 3's involes 15-20.
My question is, in a nutshell, what should I place in the () for strArray so that the proper information is placed for each person?
All help is greatly appreciated!

Reference no: EM13950634

Questions Cloud

Case - numbness and pain : Case: Numbness and Pain, A 47-year-old obese female complains of pain in her right wrist, with tingling and numbness in the thumb and index and middle fingers for the past 2 weeks. She has been frustrated because the pain causes her to drop her ha..
Manufactures bamboo picture frames : manufactures bamboo picture frames that sell for $35 each. Each frame requires 4 linear feet of bamboo, which costs $3.00 per foot. Each frame takes approximately 30 minutes to build, and the labor rate averages $14.00 per hour. Iguana has the follow..
Pros or cons when monetary discipline in countries : When reflecting on the IMF/World Bank and the Mexican Currency crisis of 1995, as a global manager, how do you believe the IMF can play a part in either crisis?
Rate of entropy production : Determine (a) the velocity at the nozzle exit, in ft/s, (b) the isentropic nozzle efficiency, and (c) the rate of entropy production within the nozzle, in Btu/8R per lb of helium flowing.
How the proper information is placed for each person : My question is, in a nutshell, what should I place in the () for strArray so that the proper information is placed for each person
Prepare a consolidated worksheet for december : Using the vertical format, prepare a consolidated worksheet for December 31, 20X2. Precede the worksheet with a value analysis and a determination and distribution of excess schedule.
Motivation in the jack welch icon of leadership : "Motivation" in the Jack Welch Icon of Leadership video, describe what intrinsic/extrinsic motivators do you see applied within your organization
Assume the existence of a function copyvillian : Show how you would use the above copyVillian function to create a copy of sharpay called sharpaysMoreEvilTwin.
Encourage competition and collaboration to motivate : How you encourage competition and collaboration to motivate your workforce. Must be 2 full pages and limit the words of "ly" APA format

Reviews

Write a Review

JAVA Programming Questions & Answers

  Java statement to initialize a variable square

Write a Java statement to initialize a variable square with a rectangle object whose top left corner is (10, 20) and whose sides all have length 40. Then write a statement that replaces square with a rectangle of the same size and top left corner ..

  Cognitive-based approaches to understanding motivation

Compare and contrast the need-based and cognitive-based approaches to understanding motivation?

  Java program that prompts for the gpa

This assignment will give you practice with interactive programs, if/else statements and methods that return values. Your program will prompt the user for information about two applicants and compute an overall score for each applicant. This is ..

  Calculate how much the user owes in parking fees.

The program will then calculate how much the user owes in parking fees.

  Example of a problematic programming situation or scenario

Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a sequence structure could resolve

  Determine values of the side of triangle

Enter 3 integers and determine if these 3 values make up the sides of a triangle. If any side is

  N is perfect number or not

Prepare a Program to find whether the given no. N is perfect number or not.

  Write a program that prompts the user for a start date

write a program that prompts the user for a start date and an end date and then prints all of the dates between them (inclusive), with seven tab-separated dates on each line.

  If there are 4 command line arguments

If there are 4 command line arguments (a b c filename.dat) then the engine should take a,b,c and store the resulting x1 and x2 in filename.dat working in silent mode (no use of screen)

  Design and implement a small and simple email server

Design and implement a small and simple email server using the concept of web based information system (WBIS).

  Prints out your gradebook entries

Create a new gradebook entry for four different CSCI courses. Must use a constructor to initialize the course name - Prints out your gradebook entries

  Writing a program that parses

The programming project involves writing a program that parses, using recursive descent, a GUI definition language defined in an input file and generates the GUI that it defines.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd