Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mail Merge into word with a Map - Help!!!
Message
 
 
To
04/10/2002 04:33:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00707687
Message ID:
00707868
Views:
20
To get you started try this:
oWord = CREATEOBJECT("Word.Application")&& Create Word object
oWord.Documents.ADD() && Add blank document
oWord.Selection.InlineShapes.AddPicture("c:\winnt\greenstone.bmp", .T., .F. && add Picture
oWord.ActiveDocument.PrintOut && Print Document

** This line will open the word app
oWord.VISIBLE = .T.


You can also Record a Macro then open the Visual Basic Editor and
copy the macro code out. You will need to change the syntax for VFP.

Hope this helps

THis is a good time as any to ask.
How do you reply with the code sample in white?
- jim durkin

"The universe is a big place, perhaps the biggest." Kurt Vonnegut
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform