Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove line spacing
Message
 
 
To
13/01/2013 19:17:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01562384
Message ID:
01562406
Views:
31
>just did it naomi and tried to place the macro into my coding without success. is that what you were suggesting?
>this is the macro verbatim:
>
> Selection.Find.ClearFormatting
>    Selection.Find.Replacement.ClearFormatting
>    With Selection.Find
>        .Text = ".vmd"
>        .Replacement.Text = "^m"
>        .Forward = True
>        .Wrap = wdFindContinue
>        .Format = False
>        .MatchCase = False
>        .MatchWholeWord = False
>        .MatchWildcards = False
>        .MatchSoundsLike = False
>        .MatchAllWordForms = False
>    End With
>    Selection.Find.Execute Replace:=wdReplaceAll
>
>
>
Most likely these 3 lines are important
.Forward = True
        .Wrap = wdFindContinue
        .Format = False
You need to find out the value of the wdFindContinue constant first.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform