Thank you Olaf for your suggestion.
loSelection is more or less your code:
lcFile = "reference_to_file"
loWord = CreateObject("Word.Application")
loWord.Documents.open(lcFile)
loSelection = loWord.Selection
I tried the addition "Range" but without succes.
Maybe it is the combination with...
Thanks for all replies.
Yes, I tried doevents: no result
Yes, I googled: no specific solution found, only examples which we use in our code
I just tried my code as a macro in Word2013: it works properly.
So...how strange is it, that it will suddenly not work from our VFP70 application with...
I already tried .ClearFormatting and .ClearFormatting()
To be more specific, the error rises at the .execute command.
I tried also different kind of calling methods like:
with loSelection.Find
.text = "findme"
.forward = .t.
.wrap = 1
.execute()
llFound = .found
endwith
but...
Hi,
We use VFP70 and in our application have Word automation.
Since Word 2013 the Find function does not work annymore, while all prior versions worked correctly.
We get an OLE error 1429 "this method or proerty is not available..."
Anybody knows what is going on?
code snippet:
with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.