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: 25
Default identify city, state zip

I'd like to identify whether a cell contains a city state & zip. This could
be "New York, NY 10005-1234" or "Boston, MA 12345". I've been thinking
maybe I could key in on the ", AA #####" sequence to identify it, using
strMyString Like ", AA #####". Is this the best way? If so, is "A" a
wildcard for characters like "#" is a wildcard for numbers? Also, how do I
make the Like command operate on only these 9 characters within the string?
Thanks. You gurus are geniuses.

Dave


 
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
parseing out City, State ?? paul Excel Discussion (Misc queries) 3 March 25th 08 05:08 PM
City State Zip Texas Nuckols Excel Discussion (Misc queries) 3 August 7th 07 10:56 PM
City State Zip Texas Nuckols Excel Worksheet Functions 3 August 7th 07 10:22 PM
city, state, zip in same cell whs2002 Excel Discussion (Misc queries) 2 April 29th 05 07:02 AM
Splitting City State Zip Pete Provencher Excel Worksheet Functions 2 February 7th 05 09:33 PM


All times are GMT +1. The time now is 07:10 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"