LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 399
Default Wildcard search for string within a string?

I am trying to write a macro that will allow me to put the contents of the
ActiveCell into a string and search that string for all occasions of a
substring using wildcards. The substrings will all start with a capital
letter A, B, C, or D and will all have either one or two numbers. There may
be more than one substring in a string, so I need to loop through the string
to find all occasions.

I'm not sure how to put the wildcard search together? Mid? InStr?
Something else? Any help is appreciated.

Ed


 
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
string parsing w/wildcard problem neverends[_2_] Excel Programming 2 June 8th 06 06:09 PM
to search for a string and affect data if it finds the string? Shwaman Excel Worksheet Functions 1 January 11th 06 12:56 AM
Wildcard string Robo Excel Discussion (Misc queries) 2 November 22nd 05 03:26 PM
search a string withing a string : find / search hangs itarnak[_9_] Excel Programming 4 October 24th 05 03:19 PM
VBA function : How to search a string in another string? bibi-phoque Excel Programming 5 April 19th 05 06:24 PM


All times are GMT +1. The time now is 11:29 PM.

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"