+ Reply to Thread
Results 1 to 3 of 3

Using .Find with Hidden Columns

Hybrid View

  1. #1
    D
    Guest

    Using .Find with Hidden Columns

    Is there a way to have the .find method look in hidden columns of data? Or
    is my only solution to unhide all columns, perform the find, then rehide the
    appropriate columns (all in VBA).

  2. #2
    Tom Ogilvy
    Guest

    Re: Using .Find with Hidden Columns

    Tell the find function to look in xlFormulas and the hidden columns should
    be searched.

    rng = cells.find(what:="ABCD", Lookin:=xlFormulas, Lookat:=xlWhole)

    as an example
    --
    Regards,
    Tom Ogilvy

    "D" <D@discussions.microsoft.com> wrote in message
    news:C7F02BE9-7F56-4757-98AC-0C8DEEF65869@microsoft.com...
    > Is there a way to have the .find method look in hidden columns of data?

    Or
    > is my only solution to unhide all columns, perform the find, then rehide

    the
    > appropriate columns (all in VBA).




  3. #3
    D
    Guest

    Re: Using .Find with Hidden Columns

    Right you are, thanks for the help.

    "Tom Ogilvy" wrote:

    > Tell the find function to look in xlFormulas and the hidden columns should
    > be searched.
    >
    > rng = cells.find(what:="ABCD", Lookin:=xlFormulas, Lookat:=xlWhole)
    >
    > as an example
    > --
    > Regards,
    > Tom Ogilvy
    >
    > "D" <D@discussions.microsoft.com> wrote in message
    > news:C7F02BE9-7F56-4757-98AC-0C8DEEF65869@microsoft.com...
    > > Is there a way to have the .find method look in hidden columns of data?

    > Or
    > > is my only solution to unhide all columns, perform the find, then rehide

    > the
    > > appropriate columns (all in VBA).

    >
    >
    >


+ 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