Results 1 to 5 of 5
  1. #1
    3 Star Lounger Omega3's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, California, USA
    Posts
    343
    Thanks
    2
    Thanked 1 Time in 1 Post

    Named Range (2002)

    I
    You know it's time to diet when you push away from the table and the table moves.

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Ankeny, Iowa, USA
    Posts
    298
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Named Range (2002)

    I'm not very good with macros, but I tried to replicate your problem and got it to work by typing in
    Range("MSAll, MSAll").Select

    Does that maybe work for you, too?

    - Brett

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Named Range (2002)

    You can define MSAll as

    =(MSData1,MSData2,MSData3,MSData4,MSData5)

    You can then create a formula such as =Sum(MSAll), and use Range("MSAll").Select in VBA.

  4. #4
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Named Range (2002)

    Try

    Union([MSData1],[MSData2],[MSData3],[MSData4],[MSData5]).Name = "MSAII"

    Andrew C

  5. #5
    3 Star Lounger Omega3's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, California, USA
    Posts
    343
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: Named Range (2002)

    I got it to work by making the changes you recommended. So it was the way I was creating the reference to the 5 named ranges. I was using quotes instead of parenthesis. Duh. <img src=/S/blush.gif border=0 alt=blush width=15 height=15> Thank you for the help!
    You know it's time to diet when you push away from the table and the table moves.

Posting Permissions

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