+ Reply to Thread
Results 1 to 6 of 6

Create drop list jump to reference cell

  1. #1
    Registered User
    Join Date
    11-26-2004
    Location
    Dallas, TX
    MS-Off Ver
    Office 2008 for Mac & Office 2007
    Posts
    17

    Create drop list jump to reference cell

    Hi all,

    I'm trying to create a drop list in excel that will jump to a reference cell when selected.

    For example, the list will list 12 months (Jan, Feb, March, Apr, May... to Dec). How do I go about doing it such that when I select Jan, Feb, Mar etc, it'll jump to the respective cell (example, cell A10 is Jan, A20 is Feb etc) and so on..?

    Thanks.
    Last edited by VBA Noob; 12-30-2007 at 11:03 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480
    Hi,
    Name you cells then you can use the name drop down to select the range you want
    If you are unfamiliar with naming ranges check this out
    http://www.contextures.com/xlNames01.html

  3. #3
    Registered User
    Join Date
    11-26-2004
    Location
    Dallas, TX
    MS-Off Ver
    Office 2008 for Mac & Office 2007
    Posts
    17
    I've learned how to name the cells. What should I do after naming the cells and using it for the drop list so that it'll jump to the cell when selected from drop list?

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe this event macro.

    Right click the sheet name > select view code and paste in the below.

    Change $A$1 to your dropdown cell and add the other months and ranges


    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    11-26-2004
    Location
    Dallas, TX
    MS-Off Ver
    Office 2008 for Mac & Office 2007
    Posts
    17
    Alright. It works.

    Thanks

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Your welcome

    VBA Noob

+ 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