Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50121

Writing from MS Word To Open Excel Workbook

$
0
0
Hi,

I am able to write an MS Word macro that populates a closed Excel workbook, by referencing the Excel workbook as follows;

Quote:

Set objWorkbook = objExcel.Workbooks.Open("E:\Maintenance\Facility Request Tool.xlsm")
, but how do I amend this so that the Excel workbook can be populated whilst closed, or is there something else that I might be doing wrong?

Regards,

Rowan

Viewing all articles
Browse latest Browse all 50121