LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Searching a column

Help please !!

Last week I posted this as follows;

""I would like to search a column of data for 'part
characters' : eg user enters "lock" and macro searches
column A and comes up with "block" in cell A6 and "locket"
in cell A9. I am thinking this might incorporate the use
of the LEN command, but without writing an immense amount
of code I am sure there must be a more simpler and more
efficient method.""

And I received the following reply;

"You will need to set SearchValue to the user input.
With Range("A:A")
Set rng = .Find(SearchValue, LookIn:=xlValues,
LookAt:=xlPart)""

Well I have been really struggling ! Can anyone please
send me a brief example of how I approach the code

Ever so grateful
Robert Pollock.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching only one column in Excel falcios Excel Discussion (Misc queries) 1 March 18th 09 03:34 PM
Searching up a column Mike Rogers[_2_] Excel Discussion (Misc queries) 7 December 31st 07 03:46 PM
Searching One Column Only [email protected] Excel Discussion (Misc queries) 2 August 31st 06 12:17 PM
Searching a Column ToddG Excel Programming 3 June 14th 04 08:51 PM
Searching In a Column KC[_3_] Excel Programming 4 April 15th 04 02:54 PM


All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"