Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant get Word97 Replace All to work
Message
 
To
28/01/1999 11:33:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00181347
Message ID:
00181380
Views:
10
>>You could use the dialog.
#define wdDialogEditReplace 117
><b>with loWord
>*...</b>
>>with .dialogs(wdDialogEditReplace)
>>	.Find = "#$@"
>>	.Replace = "13" && If you mean chr(13) then "^p"
>>	.MatchCase = .f.
>>	.ReplaceAll = .t.
>>	.Execute
>>endwith
><b>endwith</b>
Cetin

I Just inserted the code and no luck, the same results. The program finishes, but the text is not changed. I have loWord.visible = .T. so I can see the word scripts executing, but I dont see any dialog to do the replace, the data gets entered OK, but the text does not get replaced. Any other suggestions?
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform