+ Reply to Thread
Results 1 to 3 of 3

How to have a macro simply issue the "find" command or "control f:

  1. #1
    Charles Adams
    Guest

    How to have a macro simply issue the "find" command or "control f:

    I would like to have a button in my worksheet to issue the find or control F
    command. This would put all the controls I need at the users fingertips. I am
    trying to record the macro but it will not let me stop until I perform a
    search which I want the user to define what text is being sought.



  2. #2
    Charlie
    Guest

    RE: How to have a macro simply issue the "find" command or "control f:

    in the button click event try this

    Application.SendKeys "^f"


    "Charles Adams" wrote:

    > I would like to have a button in my worksheet to issue the find or control F
    > command. This would put all the controls I need at the users fingertips. I am
    > trying to record the macro but it will not let me stop until I perform a
    > search which I want the user to define what text is being sought.
    >
    >


  3. #3
    quartz
    Guest

    RE: How to have a macro simply issue the "find" command or "control f:

    Another method:

    Application.Dialogs(xlDialogFormulaFind).Show

    HTH

    "Charles Adams" wrote:

    > I would like to have a button in my worksheet to issue the find or control F
    > command. This would put all the controls I need at the users fingertips. I am
    > trying to record the macro but it will not let me stop until I perform a
    > search which I want the user to define what text is being sought.
    >
    >


+ 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