Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm having a problem when I try to open a spreadsheet from Access 2003. The Excel Spreadsheet contains some links to external data and also a column that contains a user defined function. If I use the following code in Excel VBA the spreadsheet opens without a problem and I can see values in the column with the user defined function Workbooks.Open(fileName:="File Location and Name", UpdateLinks:=0, ReadOnly:=True) however if I use the exact same code in Access VBA ie. Set objWorkbook = objExcel.Workbooks.Open(fileName:="File Location and Name", UpdateLinks:=0, ReadOnly:=True) it opens the spreadsheet and my column with the user defined function contains #NAME? for every cell. I've tried a load of different ways to open it from Access but the same problem happens everytime. What does Excel do differently that allows the spreadsheet to open as Read-Only with the correct values displayed in that column? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Opening an ACCESS db from the VBE in EXCEL | Excel Worksheet Functions | |||
Opening linked spreadsheet file in Access | Excel Programming | |||
Opening Excel from Access | Excel Programming | |||
Opening Access from Excel | Excel Programming | |||
Opening Excel via Access | Excel Programming |