Hi All
I am having troubles in trying to maintain references to a SQL datatable.
I have a sheet where the user enters an order number, there is some VBA codes that runs an SQL script to an external database to bring back information to a datatable.
All this works fine.
However there is then, on the user sheet, some vlookups that refer to various fields on the datatable.
My problem is that whenever the SQL database refreshes the datatable, some of the lookups fail with a #REF !.
I have tried creating absolute cell references but this does not work.
Any ideas please - this has been bugging me all evening - tired and needing sleep....
Thanks in advance
John
I am having troubles in trying to maintain references to a SQL datatable.
I have a sheet where the user enters an order number, there is some VBA codes that runs an SQL script to an external database to bring back information to a datatable.
All this works fine.
However there is then, on the user sheet, some vlookups that refer to various fields on the datatable.
My problem is that whenever the SQL database refreshes the datatable, some of the lookups fail with a #REF !.
I have tried creating absolute cell references but this does not work.
Any ideas please - this has been bugging me all evening - tired and needing sleep....
Thanks in advance
John