+ Reply to Thread
Results 1 to 6 of 6

Adding a "Take Me There" option to a Multiple Search criteria Macro ?

  1. #1
    Registered User
    Join Date
    12-26-2016
    Location
    London, England
    MS-Off Ver
    365
    Posts
    79

    Smile Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    Hi - I have some VBA code that searches for a Text.value in all worksheets in a workbook via a USERFORM

    The code works fine and returns a message box stating which worksheets the Text.values are in. I want it to bring up this Message box, but now give the option to "Take me there" rather than it just be the "OK" option.

    As there may be more than one of the same Text.values in the workbook the current code loops and brings up each result one at a time, so would need 2 buttons in the result "Take me there" and "Continue" being the options until the loop ends with the final search return as "This It !" (or such like) - Hope that makes sense?

    I really hope someone can help??

    I'm learning all the time from the great responses from this forum ! THANKS ALL !

    Here is my current Coding assigned to the USERFORM.......

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    Hello hans302,

    Instead of having Forum members creating a Workbook based on assumptions from your request, I would strongly suggest that you attach a sample workbook.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    12-26-2016
    Location
    London, England
    MS-Off Ver
    365
    Posts
    79

    Re: Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    Thanks for your reply - I will consider that option in the future

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    Hello hans302,

    Your chances of getting a response will be greatly increased if you attach a sample Workbook in this this Thread.

  5. #5
    Registered User
    Join Date
    12-26-2016
    Location
    London, England
    MS-Off Ver
    365
    Posts
    79

    Re: Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    Quote Originally Posted by Winon View Post

    Your chances of getting a response will be greatly increased if you attach a sample Workbook in this this Thread.
    Hi - I have attached a simplified version of the workbook here.....

    Many thanks.....
    Attached Files Attached Files

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,438

    Re: Adding a "Take Me There" option to a Multiple Search criteria Macro ?

    .
    .
    Here is a sample project you can use :

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Update Macro to search column Bfor "Fail" and "Exception"
    By programct in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2014, 02:32 PM
  2. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  3. Adding multiple "find" with "left" /"Right"
    By Daniel1 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-22-2014, 04:33 PM
  4. [SOLVED] Adding "Which page would you like to export to" option window to a macro
    By Butcher1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2014, 10:11 AM
  5. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM
  6. Adding option "button" to excel sheet
    By LadyFinisher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2009, 11:33 PM
  7. [SOLVED] "Search for files and folders" option doesnot work for 100%
    By ECouwenberg in forum Excel General
    Replies: 7
    Last Post: 01-11-2006, 12:55 PM

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