Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
From
22/07/1999 17:24:32
 
 
To
17/07/1999 13:00:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00242018
Message ID:
00245018
Views:
32
Sorry about that, it kept saying that i'd already posted that message and would'nt let me add to it....... Your suggestion worked great, I was also able to find weak add'l info on MSDN. A newly discovered tip for those trying automation is when you create the macro in word to import into Foxpro just use the arguments, strip out the word keywords ie. Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= "MACROBUTTON NoMacro [Insert your text here]", PreserveFormatting:=False would be passed as:
Selection.Fields.Add ('.Selection.Range, wdFieldEmpty, "MACROBUTTON NoMacro [Insert your text here]", .f.') to pass a field object. Good luck and thanks again Cetin for the push down the proper path ;^)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform