Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Object Required error message

  1. #1
    Guest

    Default

    Hello people

    I am trying to get the row number of a cell which is found by


    Set f = Columns(3).Find(What:=ColrToFind, LookAt:=xlWhole)

    and inside the if...else condition I put
    Dim fRow As Double
    Set fRow = f.Row

    But I got a message --> Object required

    Why??

    Please Help

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Richland, Washington
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Sidestepping your question, why don't you try:

    Dim f As Double
    f = Columns(3).Find(What:=ColrToFind, LookAt:=xlWhole).Row

    Tom

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •