Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel vba search

Thread Tools
 
Search this Thread
 
Old Nov 15, 2002 | 10:32 AM
  #1  
Bajie's Avatar
Bajie
Thread Starter
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Unhappy

Driving myself mad now.

After selecting a column I need to search for an exact number, eg 37. Not 6379 like its picking up at the moment. How can I make it select the cell with only the value I am looking for.
With the macro I'm using I'm unable to sort.

I know its a pants question but I'm going round in circles now.
Reply
Old Nov 15, 2002 | 10:48 AM
  #2  
Bajie's Avatar
Bajie
Thread Starter
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Post

Got it!

Selection.Find(What:="7", After:=ActiveCell, LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False).Activate

The power of Scoobynet ....
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
TylerD529
General Technical
2
Oct 9, 2015 01:53 AM
mistermexican
General Technical
2
Oct 1, 2015 04:30 PM
Matt_182
General Technical
0
Sep 30, 2015 03:20 PM




All times are GMT +1. The time now is 06:30 AM.