Jump to content




Telephone formatting



  • Please log in to reply
1 reply to this topic

#1 OFFLINE   ttmail  newbie

ttmail
  • Members
  • 9 posts
  • FM Client:10
  • Time Online: 21m 20s

Posted 20 January 2012 - 02:59 AM

A little background to my question - I live in the UK so half of my contacts and therefore telephone numbers use the STD code for the UK which could be 0207/0208/0161/ etc.

All my local codes start with just one "0"

Whereas the International codes have two zeros "00".

So is their a script that would insert +248 into the field then the rest of the number instead of the "00" and when it comes to the UK telephone numbers just being one "0" then leave the field as I have inputted. Example 01604 123 4567

Hope someone can help as I cannot work out how to do this.

Sorry if I haven't explained myself well.

Thanks

#2 OFFLINE   comment  consultant

comment
  • Members
  • 21,137 posts
  • Time Online: 187d 10h 40m 8s

Posted 20 January 2012 - 05:41 AM

Try =

Substitute ( "§" & PhoneNumber ; [ "§00" ; "+248" ] ; [ "§0" ; "0" ] )



Back to Custom Functions


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

FMForum Advertisers