Closed Thread
Results 1 to 2 of 2

syntax error

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    61

    syntax error

    HI all,

    the below is giving error...i want to search String pattern RAV in the range.. RAV may be in any position in the cell value...
    for example... the word ravi is in multiple rows in the column like RAVIKUMAR, RAVI PRASAD like this...but i need to search for pattern 'RAVI' in all rows...



    If Range("B" & CStr(LSearchRow)).Value = "%RAVI%"

    can you please correct above syntax please....

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: syntax error

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    HTH
    Regards, Jeff

Closed 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