Two questions. I have the following piece of code that is attached to a menu item.
This code inserts a paragraph into the document at the point of the cursor. Where is the text stored and how do I update it?
When I put breaks in the code and try to run the menu item, it doesn't break at the point I specify.
Next question: I cannot find the code that inserts the items in the menu. There is no Auto routines in the document. How do I find the code that inserts the menu? It is a template file, so are the menus included with the template?
Thanks,
Llamaman
Code:
Public Sub MAIN()
WordBasic.WW7_EditAutoText Name:="Birth Certificate", Context:=1, InsertAs:=0, Insert:=1
WordBasic.InsertPara
End Sub
This code inserts a paragraph into the document at the point of the cursor. Where is the text stored and how do I update it?
When I put breaks in the code and try to run the menu item, it doesn't break at the point I specify.
Next question: I cannot find the code that inserts the items in the menu. There is no Auto routines in the document. How do I find the code that inserts the menu? It is a template file, so are the menus included with the template?
Thanks,
Llamaman