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 15 November 2002, 10:32 AM
  #1  
Bajie
Scooby Regular
Thread Starter
 
Bajie's Avatar
 
Join Date: Dec 1999
Posts: 2,221
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 15 November 2002, 10:48 AM
  #2  
Bajie
Scooby Regular
Thread Starter
 
Bajie's Avatar
 
Join Date: Dec 1999
Posts: 2,221
Likes: 0
Received 0 Likes on 0 Posts
Post

Got it!

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

The power of Scoobynet ....
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
TylerD529
General Technical
2
09 October 2015 01:53 AM
mistermexican
General Technical
2
01 October 2015 04:30 PM
Matt_182
General Technical
0
30 September 2015 03:20 PM



Quick Reply: Excel vba search



All times are GMT +1. The time now is 03:59 AM.