Consulting

Results 1 to 2 of 2

Thread: VBA - GOTO named range

  1. #1

    VBA - GOTO named range

    Excel97 I have a user data input form. Entry of AA etc in Cell A1 Have a named range for 5 different sets of numbers I want to use cell A1, that will change with each set of entries, the cell will show the name of the range I want to select.(AA,or AB, or AC, or AD, or AE) I can then goto , copy paste etc. With VBA goto AB etc is ok But I want to go to the named range that is showing in cell A1. Can cell A1 when the named range entered goto the named range, elsewhere on the same sheet ? Thanks Charlie Harris

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Just use

    [vba]

    Application.Goto ActiveSheet.Range("A1").Value2
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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