Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Searching Data

Hi,

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.

Can you help please.
Thank You
Robert Pollock

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Searching Data

You will need to set SearchValue to the user input.

With Range("A:A")
Set rng = .Find(SearchValue, LookIn:=xlValues, LookAt:=xlPart

--
Message posted from http://www.ExcelForum.com

Reply
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 data Khawajaanwar Excel Discussion (Misc queries) 0 April 3rd 08 06:07 PM
Searching for data Karen Excel Worksheet Functions 1 August 31st 07 10:04 AM
Searching, matching then searching another list based on the match A.S. Excel Discussion (Misc queries) 1 December 13th 06 05:08 AM
Data searching between sheets YJL Excel Discussion (Misc queries) 2 November 10th 05 03:01 AM
Searching for Data Chicken Man Setting up and Configuration of Excel 0 February 15th 05 12:35 AM


All times are GMT +1. The time now is 09:23 AM.

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"