Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Search through individual data strings

Hi All,

I am writing a macro that searches for a variable seven digit numbe
sequence. The number sequence is in a text field and is not in
standard position (ie: in record one it is at position 20, record 2
position 9, record 3 - no entry, record 4 - position 12 and positio
123, etc). The field contains other text and numbers that are no
required and may contain more than one valid number sequence. Doe
anyone have an algorithm that could help me with this process.

Regards

B

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Search through individual data strings

Hi
you may use
InStr
for this in your comparison

--
Regards
Frank Kabel
Frankfurt, Germany


Hi All,

I am writing a macro that searches for a variable seven digit number
sequence. The number sequence is in a text field and is not in a
standard position (ie: in record one it is at position 20, record 2 -
position 9, record 3 - no entry, record 4 - position 12 and position
123, etc). The field contains other text and numbers that are not
required and may contain more than one valid number sequence. Does
anyone have an algorithm that could help me with this process.

Regards

BC


---
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
search for multiple strings Lea from CA[_2_] Excel Discussion (Misc queries) 4 October 16th 09 10:20 PM
How do I filter or search mulitple for text strings? MikeD Excel Discussion (Misc queries) 2 October 29th 08 01:07 PM
Search for multiple strings in a list (w/in 1 cell) w/ Advanced fi Maher Excel Discussion (Misc queries) 5 July 7th 08 06:02 PM
Search for strings David494 New Users to Excel 6 August 1st 05 01:05 PM
Search and Replace text strings within Macros Chris Austin Excel Programming 1 September 5th 03 04:39 PM


All times are GMT +1. The time now is 12:37 AM.

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

About Us

"It's about Microsoft Excel"