Costas
Member
Hi,
I've set up a vlookup into a Jet report that updates an excel table through a link to a separate workbook. It is working fine but when I refresh my jet report it effectively deletes the excel table and recreates it. If both workbooks are open during the refresh (and they need to be) then the link is broken because the table array disappears, so even when the recreated table array is there, the link is gone.
I tried to keep the link to the table array as the contents of a named range cell so the link would be unaffected from the refresh but I can't get my vlookup to work. I tried the indirect function but no joy either. Below is an explanation of what happened.
Before the refresh
=vlookup(A2,'Data.xlsx'!GLAccount[#Data],5,false)
After the refresh
=vlookup(A2,'Data.xlsx'!#Ref!,5,false)
Failed attempt to fix
Created a named range called "MyData" for cell Z1 with contents 'Data.xlsx'!GLAccount[#Data] so the revised formula is =vlookup(A2,MyData,5,false).
Please note that I've asked this question in another forum but have not received an answer yet. Can anybody help me with this please?
Thanks
Costas
I've set up a vlookup into a Jet report that updates an excel table through a link to a separate workbook. It is working fine but when I refresh my jet report it effectively deletes the excel table and recreates it. If both workbooks are open during the refresh (and they need to be) then the link is broken because the table array disappears, so even when the recreated table array is there, the link is gone.
I tried to keep the link to the table array as the contents of a named range cell so the link would be unaffected from the refresh but I can't get my vlookup to work. I tried the indirect function but no joy either. Below is an explanation of what happened.
Before the refresh
=vlookup(A2,'Data.xlsx'!GLAccount[#Data],5,false)
After the refresh
=vlookup(A2,'Data.xlsx'!#Ref!,5,false)
Failed attempt to fix
Created a named range called "MyData" for cell Z1 with contents 'Data.xlsx'!GLAccount[#Data] so the revised formula is =vlookup(A2,MyData,5,false).
Please note that I've asked this question in another forum but have not received an answer yet. Can anybody help me with this please?
Thanks
Costas