+ Reply to Thread
Results 1 to 2 of 2

Assigning Macros to Buttons

Hybrid View

  1. #1
    Christine
    Guest

    Assigning Macros to Buttons

    I have created an Excel spreadsheet that contains a list that is similar to a
    library index... title of document, author, date etc.

    For those users who are unfamiliar with Excel I want to create a button that
    when you click on it the Find dialogue box comes up automatically.

    Excel has already automatically assigned the shortcut Crtl F to bring up
    this dialogue- how do I link this to a box??? When I attempt to create a
    Macro that brings up this box I can't - I can record a macro that will add
    two plus two and do all kinds of great calculations but all I want to do is
    bring up the Find dialogue.

    I also want to do the same thing on another button that will select the
    entire list and bring up the SORT dialogue box - however when you bring up
    this dialogue you can't click out of it so i can't stop recording the macro.

    Thank you sooo much for your help!

  2. #2
    Peo Sjoblom
    Guest

    Re: Assigning Macros to Buttons

    Put this line in your macro

    Application.Dialogs(xlDialogFormulaFind).Show


    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com


    "Christine" <[email protected]> wrote in message
    news:[email protected]...
    >I have created an Excel spreadsheet that contains a list that is similar to
    >a
    > library index... title of document, author, date etc.
    >
    > For those users who are unfamiliar with Excel I want to create a button
    > that
    > when you click on it the Find dialogue box comes up automatically.
    >
    > Excel has already automatically assigned the shortcut Crtl F to bring up
    > this dialogue- how do I link this to a box??? When I attempt to create a
    > Macro that brings up this box I can't - I can record a macro that will add
    > two plus two and do all kinds of great calculations but all I want to do
    > is
    > bring up the Find dialogue.
    >
    > I also want to do the same thing on another button that will select the
    > entire list and bring up the SORT dialogue box - however when you bring up
    > this dialogue you can't click out of it so i can't stop recording the
    > macro.
    >
    > Thank you sooo much for your help!




+ 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