+ Reply to Thread
Results 1 to 9 of 9

Expanding Search Engine in Macro Excel

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Expanding Search Engine in Macro Excel

    I'm currently working from a macro template that has a search feature that is limited to Columns A and B. I would like to expand the search function to range from A through F but cannot format the code correctly. I've attached the template below -- thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Expanding Search Engine in Macro Excel

    This code is written By leigh Ross in response to the same question and the same code.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Expanding Search Engine in Macro Excel

    This is helpful, however I can't seem to get the search function to work properly. I simply pasted the above code in Module 1 (General) -- is that the right move?

    Thanks!

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Expanding Search Engine in Macro Excel

    Slightly amended the code. Try the attached
    Attached Files Attached Files
    Last edited by AB33; 05-07-2013 at 03:24 PM.

  5. #5
    Registered User
    Join Date
    05-07-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Expanding Search Engine in Macro Excel

    Thanks -- I see your adjustments and agree with them. However, Excel 2010 is still coming up with an error message that reads "Cannot run the macro "Searchable Macro (1).xlsm'!SearchParts'. The macro may not be available in this workbook or all macros may be disabled."

    I've ensured that the macros are enabled so I'm not exactly sure what's the problem. This attached file thought is exactly what I'm looking for.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Expanding Search Engine in Macro Excel

    I have now save it as excel 2003 version. See post #4

  7. #7
    Registered User
    Join Date
    05-07-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Expanding Search Engine in Macro Excel

    I just upgraded to 2010 to open the original file and it still didn't work. Any other suggestions?

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Expanding Search Engine in Macro Excel

    I do not know. You have already a code on your module. If that code is working, replace it with the new code. I have tested it and is working on the attached.

  9. #9
    Registered User
    Join Date
    05-07-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Expanding Search Engine in Macro Excel

    I took your advice and worked off the current formula and was able to search two additional columns. If anyone can help me pick up the fifth column titled "Notes" in this search matrix it would be a great help. Here's the updated file:Searchable Macro.xlsm

+ 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