Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp to msword, how?
Message
From
08/03/2000 06:40:01
 
 
To
07/03/2000 13:20:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00342824
Message ID:
00343175
Views:
19
Hi Cetin,

and thanks! I am getting closer, but still are a little confused when trying to translate Word/vba code into VFP equivalents. Here is what I am trying to do now, this works in a VBA macro, but how can I create corresponding code in VFP:

.Application.Browser.Target = wdBrowseSection
.Application.Browser.Next
.Selection.MoveUp Unit:=wdLine, Count:= 1
.Selection.Movedown Unit:=wdLine, Count:= 2, Extend:=wdExtend
.Selection.Delete Unit:=wdCharacter, Count:=1

By the way, this code is used to remove the dividing line that Word inserts
at the end of a document created by mailmerge from a vfp data record, and i wonder if it is possible to tell Word not to insert this divider at all?

With regard to (wdPromptToSaveChanges = false), that is on fact what I find
in my VBA macros, so I assume somehow the syntax is correct. I have tried
the variations you suggest, but did not have much success. But that seems no longer to be any problem anyway.

Regards, Rolf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform