ClimoC
Well-known Member
- Joined
- Aug 21, 2009
- Messages
- 584
Hi
Anyone else ever had this?
Get an accdb file (any kind). Import it to an Excel Workbook as a Linked Workbook (Data > 'Get External Data - From Access)
Data goes in. Lovely.
Go to your VBE Immediate window. Query an activecell.value (or any cell value)
Now hide the column / set the column width of that cell to 0
Now in the Immediate Window, query the value again
Zuh?!?! The rest of the table is fine, no links are broken, but the workbook suddenly can't get the range data.
This is a bit of a problem for one of my Linked-Data workbooks - it's supposed to fire SQL commands triggered by the Change event - but can't obtain information it needs if the column has been hidden / width set to zero
Ideas? Solutions?
Cross-posted here in Excel forum: http://www.mrexcel.com/forum/excel-...ccess-tables-vs-object-model.html#post3299904
Anyone else ever had this?
Get an accdb file (any kind). Import it to an Excel Workbook as a Linked Workbook (Data > 'Get External Data - From Access)
Data goes in. Lovely.
Go to your VBE Immediate window. Query an activecell.value (or any cell value)
Now hide the column / set the column width of that cell to 0
Now in the Immediate Window, query the value again
Zuh?!?! The rest of the table is fine, no links are broken, but the workbook suddenly can't get the range data.
This is a bit of a problem for one of my Linked-Data workbooks - it's supposed to fire SQL commands triggered by the Change event - but can't obtain information it needs if the column has been hidden / width set to zero
Ideas? Solutions?
Cross-posted here in Excel forum: http://www.mrexcel.com/forum/excel-...ccess-tables-vs-object-model.html#post3299904
Last edited by a moderator: