$My_Word->Documents->Add returns the document. In my experience it's much better to work with that returned document directly instead of resorting to ->ActiveDocument.
In reply to Re^2: create .docx files (MS-WORD with WIN32::OLE)
by Corion
in thread create .docx files (MS-WORD with WIN32::OLE)
by gadi99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |