+ Reply to Thread
Results 1 to 2 of 2

Accepting input from user

  1. #1
    Registered User
    Join Date
    05-03-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Accepting input from user

    I am developing a student grades report on excel for my students. I need to accept a number from the user(the number of students in the class) and allocate so many cells for various fields such as name, age, grades. To calculate grades, I need the formula to be automatically copied to as many particular cells as there are students present.

    for example, if user inputs as shown below,

    Number of students = 30

    then automatically 30 cells should be allocated for various fields such as

    Number NAME age GRADES
    1 I will write the formula only for first cell
    2 these formulae should be copied automatically
    3 copied automatically
    4
    ...

    29
    30


    How can this be done?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Accepting input from user

    VBA is the answer.
    Use the macro recorder t get it set up, say for 10 rows, come back to the forum to get it fine tuned.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1