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 text type: is it a phone nuber?

Hi, I have a large series of data in VBA that I'm trying to identify as
different types. For example, is the string a phone number? I tried
InStr(1, strMyString, "###-###-####") hoping that the #'s would serve as
wild cards. I also used * in place of the #. Neither worked. Any ideas on
how to identify whether a string is a phone number? Thanks.


 
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
convert to GBP - formula to identify 1st character and Acc type Johnny Excel Discussion (Misc queries) 2 May 22nd 08 03:27 PM
how to convert date type to text type Steffen Excel Discussion (Misc queries) 3 July 17th 07 11:32 AM
fHow to write in a formula "if a nuber s between these two numbers FreddieP Excel Discussion (Misc queries) 11 September 30th 06 02:35 PM
Function to calculate the nuber of weeks between dates? Fish Excel Worksheet Functions 4 March 13th 06 10:55 PM
Nuber of Days between two Dates ExcelMonkey[_32_] Excel Programming 5 January 28th 04 04:36 AM


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