View Single Post
 
Old 05-12-2020, 07:33 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Windows 10 Office 2013
Competent Performer
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Default OMG you are brilliant. Fix it. Thank you so much....

Thank you Paul, you don't know how much time I've spent trying to figure that issue. OMG, you are a brilliant person.


i'll try to analyze the difference between the two scripts to learn and understand. But how can I understand more in dept in Word VBA programming?


Been trying, as god is my withness, I've been trying. I've created over 100's of macro's which I've used on the ribbon, to help me, but my programming is a novice programming.


This is my typical Find and Replace programming (as a novice):


Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "^13"
.Replacement.Text = "^p"
.Forward = False
.Wrap = wdFindStop
.Format = False
.MatchCase = False
.MatchWildcards = False
End With
Selection.Find.Execute Replace:=wdReplaceAll


In the undo's, I do see often ==> VBA-Find.Execute2007, which tells me I'm programming old style. LOL


Any advice, I will be so ever in your debt. But Thank so much for fixing that script


Cheers
Reply With Quote