+ Reply to Thread
Results 1 to 2 of 2

create dropdown menu

Hybrid View

Guest create dropdown menu 01-29-2005, 08:06 AM
Guest Re: create dropdown menu 01-29-2005, 10:06 AM
  1. #1
    Anthony
    Guest

    create dropdown menu

    Hi,
    can anybody advise (or direct me to basic creation site) where I can create
    a dropdown menu in excel.

    the menu will hold seveal options ie Food, Drink, Price etc and I want the
    user to be able to select one of the options and once chosen a specific excel
    worksheet will be opened for this topic.

    thanks

    Anthony

  2. #2
    JulieD
    Guest

    Re: create dropdown menu

    Hi Anthony

    by drop down menu do you mean one like File / Edit / View on the menu bar or
    in a cell in a workbook.

    If you want the file / edit / view type probably the easiest way to it is to
    record a different macro opening each of the specific workbooks and then use
    view / toolbars / customise to drag a new menu item onto the toolbar, and
    then drag one for each item and assign the appropriate macro to it.

    if you want a drop down list in a cell - you could use data validation to
    create the drop down (check out
    http://www.contextures.com/xlDataVal01.html ) and then use a
    worksheet_change event to open the appropriate book, e.g.

    Private Sub Worksheet_Change(ByVal Target As Range)

    If Target.Address = "$E$4" And Target.Value <> "" Then
    Select Case Target.Value
    Case "food"
    Workbooks.Open Filename:="C:\My Documents\food.xls"
    Case "drink"
    Workbooks.Open Filename:="C:\My Documents\drink.xls"
    Case "price"
    Workbooks.Open Filename:="C:\My Documents\price.xls"
    End Select
    End If
    End Sub

    ---

    Hope this helps, please post back if you require further information.

    Cheers
    JulieD


    "Anthony" <Anthony@discussions.microsoft.com> wrote in message
    news:D91E9E2C-CD3E-4902-821B-F729FE13AD12@microsoft.com...
    > Hi,
    > can anybody advise (or direct me to basic creation site) where I can
    > create
    > a dropdown menu in excel.
    >
    > the menu will hold seveal options ie Food, Drink, Price etc and I want the
    > user to be able to select one of the options and once chosen a specific
    > excel
    > worksheet will be opened for this topic.
    >
    > thanks
    >
    > Anthony




+ 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