+ Reply to Thread
Results 1 to 3 of 3

searching through columns

  1. #1
    Registered User
    Join Date
    11-22-2007
    Posts
    4

    searching through columns

    Hi everyone, I found some code on the internet that has one combox one textbox and one listbox. I've tried to modify it to work on a sheet that has 3 columns from which I am trying to search. The data in the columns are in the range H2:J10000. When I run it I get an error message that says "The extract Range has a missing or illegal field name."

    The line that is highlighted in yellow on the vba code is "DataSH.Range("h2").CurrentRegion.AdvancedFilter Action:=xlFilterCopy......."

    Does anyone know what I am doing wrong.


    HTML Code: 

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Have you tried it with an explicit range, like this?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-22-2007
    Posts
    4
    mikerickson, Thank you for your reply. I tried your suggestion and it still was not working. I just moved the data to be searched to columns a:b and it works fine.

+ 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