+ Reply to Thread
Results 1 to 3 of 3

Find the column you are in

  1. #1
    Rishi Dhupar
    Guest

    Find the column you are in

    Probably a simple answer to this, but I am doing a find using the
    Range.Find function.

    It is looking in all cells. Goal is to get column A's value for the
    row that my string was found. How can I do this?

    Was thinking about using offset, but I cannot figure out how to get the
    column the string was found on.

    Thanks


  2. #2
    Norman Jones
    Guest

    Re: Find the column you are in

    Hi Rishi,

    Dim Rng As Range, Rng2 As Range

    Set Rng = Range(....).Find(......................)

    If Not Rng Is Nothing Then
    Set Rng2 = Rng.EntireRow.Cells(1)
    End If



    ---
    Regards,
    Norman



    "Rishi Dhupar" <[email protected]> wrote in message
    news:[email protected]...
    > Probably a simple answer to this, but I am doing a find using the
    > Range.Find function.
    >
    > It is looking in all cells. Goal is to get column A's value for the
    > row that my string was found. How can I do this?
    >
    > Was thinking about using offset, but I cannot figure out how to get the
    > column the string was found on.
    >
    > Thanks
    >




  3. #3
    Rishi Dhupar
    Guest

    Re: Find the column you are in

    I like it, thanks didn't know that existed.


+ 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