View Single Post
 
Old 02-08-2012, 04:10 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Hi tinfanide,

Attached is a workbook containing the code, and an output document generated by it. I've restructured the code slightly, but that makes no difference to the outcome. As you can see, the textbox is correctly placed in cell B2 in the Word table.

Since I don't have your 'a' document, I replaced that bit of 'open' code in the Excel workbook with the 'add' method to create a new document.
Yes, it was strange. It works in your document but when I pasted your codes in a.xlsm, it didn't work.
Please see the attached a.xlsm and a.docx. Many thanks for your patience.
Attached Files
File Type: xlsm a.xlsm (23.4 KB, 15 views)
File Type: docx a.docx (12.4 KB, 17 views)
Reply With Quote