A
AlexD
I'm trying to open and see Excel spreadsheet (by name)
from Access by using the following:
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Open("Book1")
ActiveWorkbook.Worksheets("WorksheetName")
But, I'm getting the error message that it's out of range.
Thanks
from Access by using the following:
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Set xlApp = CreateObject("Excel.Application")
Set xlBook = xlApp.Workbooks.Open("Book1")
ActiveWorkbook.Worksheets("WorksheetName")
But, I'm getting the error message that it's out of range.
Thanks