+ Reply to Thread
Results 1 to 2 of 2

Search for Range not single number

  1. #1
    Forum Contributor
    Join Date
    11-17-2006
    Posts
    152

    Search for Range not single number

    Hi,

    I have this code below, how do i search for a range i.e. if the number is greater than 0 or '1 - 100', rather than a single number,

    I've tried specifiying 'stringTolookFor = Range("1:100")' but is comes up with an error.

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346
    Quote Originally Posted by jonn
    Hi,

    I have this code below, how do i search for a range i.e. if the number is greater than 0 or '1 - 100', rather than a single number,

    I've tried specifiying 'stringTolookFor = Range("1:100")' but is comes up with an error.

    Please Login or Register  to view this content.
    Thanks
    I don't think you can use Find method to find a range Best way out is to use For.. Next Loop.

    eg.
    Please Login or Register  to view this content.
    A V Veerkar

+ 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