+ Reply to Thread
Results 1 to 4 of 4

Use Named Range as indicated in a cell

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    san francisco
    MS-Off Ver
    Excel 2003
    Posts
    11

    Use Named Range as indicated in a cell

    Hello,

    I am using a dropdown menu which gives a list of named arrays to allow people to choose which set of values they wish to look at below. These values will be pasted in using VBA. I want VBA to copy the named array. when i put in:

    Range("myArray").Copy

    it copies fine. but if i do this:

    Range("B2").Copy

    It only copies "myArray."

    Does anyone know a way I can reference my cell and then copy the array based on the name in the cell?


    Thanks a bunch!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Use Named Range as indicated in a cell

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    06-25-2012
    Location
    san francisco
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Use Named Range as indicated in a cell

    Hey,

    It looked good. but now i am getting "Range of Object _Global failed."

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    How have you created the dropdown?

    Is it with data validation or with a control?

+ 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