I have an Access app that builds excel workbooks. In 1 I have a cell that needs to reference a cell in another workbook on my hard drive.
I have the formula built like this:
='[WorkbookName.xls]SheetName’!$A$1
the formula works, but when stepping thru the code, as soon as it does this line:
xlapp.ActiveCell.Value = “='[WorkbookName.xls]SheetName’!$A$1”
Excel open the Open File dialog.
Not good for automating.
Is there a way around this?