M
muyBN
I've seen in this forum how to copy an Excel worksheet into Word but I only
need to open an Excel file and not do anything else to it from the macro.
What do I do to actually open the file with the code below?
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Open("path\file.xls")
need to open an Excel file and not do anything else to it from the macro.
What do I do to actually open the file with the code below?
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Open("path\file.xls")