I'm working with some Excel objects through VBA in Access.
I'm working with a spreadsheet that has 3 connections. I can see them in Data, Edit, Links.
But when I create and Excel object and a workbook object, I can't see the links.
?xlIn.ActiveWorkbook.Connections.Count
0
?xlBookIn.Connections.Count
0
The counts return zero and should be 3.
Other VBA code works fine. I can list the worksheets, return cell values and formulas, so I know the objects work.
Any suggestions appreciated.
Brooks
I'm working with a spreadsheet that has 3 connections. I can see them in Data, Edit, Links.
But when I create and Excel object and a workbook object, I can't see the links.
?xlIn.ActiveWorkbook.Connections.Count
0
?xlBookIn.Connections.Count
0
The counts return zero and should be 3.
Other VBA code works fine. I can list the worksheets, return cell values and formulas, so I know the objects work.
Any suggestions appreciated.
Brooks