![]() |
|
#1
|
|||
|
|||
|
What I want to do:
Find a comma in front of a number ",1" and change it to a period ".1" How I'm currently doing it Code:
With Selection.Find .Text = ",1" .Replacement.Text = ".1" ... I'd like to condense this maybe using something like Code:
.Text = ",[0-9]" Please help! |
|
#2
|
||||
|
||||
|
Try:
.Text = ,([0-9]) .Replacement.Text = .\1 .MatchWildcards = True
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
Thank you, that worked. I was just missing paranthesis and the wildcard true statement.
Facepalm moment! |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Tricky wildcard search
|
NobodysPerfect | Word | 10 | 03-19-2014 04:29 AM |
Wildcard for selective deleting
|
binar | Word | 1 | 01-10-2013 04:37 AM |
| Wildcard Problem with Emailadresses | Fmax | Word | 1 | 06-17-2010 06:09 AM |
| Wildcard search help. | Kempston | Word | 0 | 11-13-2009 03:58 AM |
| Extract from String using Wildcard | whousedmy | Word | 0 | 05-21-2009 01:35 AM |