+ Reply to Thread
Results 1 to 2 of 2

User-defined variable to declare or modify range parameters

  1. #1
    Registered User
    Join Date
    03-11-2013
    Location
    Washington DC, US
    MS-Off Ver
    Excel 2010
    Posts
    1

    User-defined variable to declare or modify range parameters

    Hi everyone - I'm a self-taught excel user, which means I've taught myself how to do a lot of things in excel, but don't know if it is the best or most efficient way. Most important, I have no idea how much I don't know. Right now, I'm having a problem with a spread sheet I'm doing for work. It consists of a list of classes with admin and logistic information about each class entered by a user - a program manager or faculty. The number of classes in each category can change, as can the number of categories.

    I'm trying to use use-supplied cell values as variable to declare ranges and set their parameters. For Example, cell B2 asks users to identify the number of categories in the range called "Elective Courses." I'd like to use the numeric value in B2 to set the length of named-range "Elective Courses." Then, I'd like to have the user populate the range with elective categories.

    Once the environment is set, I'd like to let the user add or subtract a category. Cell C3 would ask the user if they want to add a new category, or delete or edit an existing category. If the response is to add or delete, I'd like the range to expand or contract accordingly.

    I hope someone can lead me in the right direction.

    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,484

    Re: User-defined variable to declare or modify range parameters

    It would be helpful if you posted a sample worksheet and showed what the expected results are.
    Alan


    Have you debugged your code?
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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