• Named Range (2002)

    Author
    Topic
    #409284

    I

    Viewing 5 reply threads
    Author
    Replies
    • #870964

      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

    • #870965

      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

    • #870966

      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.

      • #870988

        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. blush Thank you for the help!

      • #870989

        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. blush Thank you for the help!

    • #870967

      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.

    • #870970

      Try

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

      Andrew C

    • #870971

      Try

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

      Andrew C

    Viewing 5 reply threads
    Reply To: Named Range (2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: