General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only