J
John Rodgers
I am attempting to insert a new subdocument into a master document using
automation. However, every attempt at calling the SubDocuments
AddFromFile method fails with a 0x800a11fd. Before calling it, I get
the windows for the document (of which there is only 1) and get its pane
- I set the pane's view type to be wdOutlineView. I then locate one of
the existing subdocs and get its range. I collapse that range to the
start. Is there something I am missing?
thanks,
John
automation. However, every attempt at calling the SubDocuments
AddFromFile method fails with a 0x800a11fd. Before calling it, I get
the windows for the document (of which there is only 1) and get its pane
- I set the pane's view type to be wdOutlineView. I then locate one of
the existing subdocs and get its range. I collapse that range to the
start. Is there something I am missing?
thanks,
John