+ Reply to Thread
Results 1 to 4 of 4

want macro to open FIND dialog box and search for "wildcard", and THEN CLOSE DIALOG BOX

  1. #1
    Registered User
    Join Date
    01-18-2016
    Location
    California, USA
    MS-Off Ver
    WINDOWS 2016
    Posts
    36

    want macro to open FIND dialog box and search for "wildcard", and THEN CLOSE DIALOG BOX

    Hello beautiful people! Can someone give me the correct verbiage to record a macro what will open the FIND dialog box, then search for what ever I need, I assume that would be some sort of wild card, and then, and here's the most important part, I need it to CLOSE the dialog box when done.

    Here's a link to a previous post about this.... it got no closure

    https://www.excelforum.com/excel-pro...-each-use.html

    Any help is greatly appreciated.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: want macro to open FIND dialog box and search for "wildcard", and THEN CLOSE DIALOG BO

    There is not a built in function to do what you want. See if you can use something like this

    Please Login or Register  to view this content.
    Ot it could possibly be done using Send Keys method. Ctrl + F
    Last edited by JLGWhiz; 03-09-2018 at 11:14 PM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    01-18-2016
    Location
    California, USA
    MS-Off Ver
    WINDOWS 2016
    Posts
    36

    Re: want macro to open FIND dialog box and search for "wildcard", and THEN CLOSE DIALOG BO

    Thank you JLGWhiz. The code DOES work, however, now I have 2 additional steps to add.... to say YES and then NO to the questions. But it's better than CTRL+F not closing automatically. Thanks so much!

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: want macro to open FIND dialog box and search for "wildcard", and THEN CLOSE DIALOG BO

    Quote Originally Posted by marcella needs help View Post
    Thank you JLGWhiz. The code DOES work, however, now I have 2 additional steps to add.... to say YES and then NO to the questions. But it's better than CTRL+F not closing automatically. Thanks so much!
    You're welcome,
    regards, JLG

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. any way to force the "Find" dialog box to close after each use?
    By marcella needs help in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2018, 02:48 PM
  2. any way to force the "Find" dialog box to close after each use?
    By marcella needs help in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2018, 02:12 PM
  3. [SOLVED] How to open "Macros Dialog Box" via macro ?
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-24-2013, 02:10 PM
  4. [SOLVED] Cancelling "Open" dialog box when prompted macro
    By DeRo22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2013, 01:17 PM
  5. Check if "Find and Replace" Dialog box is open
    By adds007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2011, 08:55 AM
  6. Open "New Database Query" Dialog box thru macro
    By Kavita Salve in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2010, 06:51 AM
  7. Close file without "Save Changes" dialog box?
    By HBF in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2009, 11:28 AM

Tags for this Thread

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