I have Word VBA code that builds a document from several other documents. It works fine for Word documents but fails when it goes to process an Excel spreadsheet. It fails in the following code even though the Excel workbook exists in the specified locationand and the range pointed to by the "Range_Information" variable exist in the workbook.
Selection.InsertFile Filename:=DocPath & Input_File_Name & "." & Current_File_type, _
Range:=Range_Information, ConfirmConversions:=False, Link:=False, Attachment:=False
It fails with the following error message and when it fails, the cursor is at the end of the following line.
Run-Time error 5101: This bookmark does not exist
I have references to Visual Basic for Application, Microsoft Word 11 Object Library, Normal, OLE Automation, and Microsoft Excel 11 Object Library. This seems to have coincided with our recent upgrade to Office 2003.
I would appreciate any suggestions that you may offer.



