03-16-2017, 08:34 AM
The following code, the operation failed :oops:
Macro Macro2
Macro Macro2
;/exe 1
out
typelib Word {00020905-0000-0000-C000-000000000046} 8.0
Word.Application app._getactive ;;connect to Word. Note: need the /exe 1.
Word.Document doc=app.ActiveDocument
Word.Range ran=doc.Range(Start=doc.Paragraphs.Item(2).Range.Start End=doc.Paragraphs.Item(4).Range.End)
ran.Bold="True"
ran.Font.Size=15
ran.Font.Name="Stencil"
;BEGIN PROJECT
;main_function Macro1
;exe_file $my qm$\Macro1.qmm
;flags 6
;guid {EB126AB4-AFF9-4818-9E31-A62869FFF810}
;END PROJECT