nicknick33
IS-IT--Management
I have created a workbook with several worksheets in it.
Some of the worksheets are linked to Access Tables and the other worksheets use these linked tables as the source of information. The formulas use ranges as well as mirror the linked tables with some additional columns that have calculations in them. Below are examples:
I have a worksheet called IB-NOPO-RateData and the following are the formulas in some of the columns:
='IB-FRT-NoPO-Q511'!A26
='IB-FRT-NoPO-Q511'!D26
etc etc
The sheet 'IB-FRT-NoPO-Q511' is ther linked table
Also, below is a formula in another sheet:
=SUMIF('IB-FRT-WPO-Q510'!$N$2:$N$4982,"<>UPS",'IB-FRT-WPO-Q510'!$O$2:$O$4982)+SUMIF('IB-FRT-NoPO-Q511'!$N$27:$N$4976,"<>UPS",'IB-FRT-NoPO-Q511'!$O$27:$O$4976)
'IB-FRT-WPO-Q510' and 'IB-FRT-NoPO-Q511' are linked tables
THE PROBLEM:
When I refresh the tables, these formulas change. For example:
='IB-FRT-NoPO-Q511'!D26 turns into ='IB-FRT-NoPO-Q511'!D29 or sometimes it returns #Ref! error
The other formula with the range in it ends up with a different range thus omitting some of the rows in it. For example, the above long formula turns into:
=SUMIF('IB-FRT-WPO-Q510'!$N$8:$N$5018,"<>UPS",'IB-FRT-WPO-Q510'!$O$8:$O$5018)+SUMIF('IB-FRT-NoPO-Q511'!$N$27:$N$4976,"<>UPS",'IB-FRT-NoPO-Q511'!$O$27:$O$4976)
This is driving me nuts and everytime I refresh, I have to go back and change the formulas. I refresh the sheet by right clicking a cell and selecting "Refresh"
In fact, I created a Macro that goes thru all the sheets executing the same procedure. There must be some configuration in the Connection properties that I should have but I am not sure what that should be. My current connection string is below:
Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=\\DC\Tuccini\BusinessFlow2.mdb;Mode=Share Deny Write;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=6;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False
Anyone has any ideas?
By the way, I am using Excel 2007.
Thank you so much in advance.
Some of the worksheets are linked to Access Tables and the other worksheets use these linked tables as the source of information. The formulas use ranges as well as mirror the linked tables with some additional columns that have calculations in them. Below are examples:
I have a worksheet called IB-NOPO-RateData and the following are the formulas in some of the columns:
='IB-FRT-NoPO-Q511'!A26
='IB-FRT-NoPO-Q511'!D26
etc etc
The sheet 'IB-FRT-NoPO-Q511' is ther linked table
Also, below is a formula in another sheet:
=SUMIF('IB-FRT-WPO-Q510'!$N$2:$N$4982,"<>UPS",'IB-FRT-WPO-Q510'!$O$2:$O$4982)+SUMIF('IB-FRT-NoPO-Q511'!$N$27:$N$4976,"<>UPS",'IB-FRT-NoPO-Q511'!$O$27:$O$4976)
'IB-FRT-WPO-Q510' and 'IB-FRT-NoPO-Q511' are linked tables
THE PROBLEM:
When I refresh the tables, these formulas change. For example:
='IB-FRT-NoPO-Q511'!D26 turns into ='IB-FRT-NoPO-Q511'!D29 or sometimes it returns #Ref! error
The other formula with the range in it ends up with a different range thus omitting some of the rows in it. For example, the above long formula turns into:
=SUMIF('IB-FRT-WPO-Q510'!$N$8:$N$5018,"<>UPS",'IB-FRT-WPO-Q510'!$O$8:$O$5018)+SUMIF('IB-FRT-NoPO-Q511'!$N$27:$N$4976,"<>UPS",'IB-FRT-NoPO-Q511'!$O$27:$O$4976)
This is driving me nuts and everytime I refresh, I have to go back and change the formulas. I refresh the sheet by right clicking a cell and selecting "Refresh"
In fact, I created a Macro that goes thru all the sheets executing the same procedure. There must be some configuration in the Connection properties that I should have but I am not sure what that should be. My current connection string is below:
Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=\\DC\Tuccini\BusinessFlow2.mdb;Mode=Share Deny Write;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=6;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False
Anyone has any ideas?
By the way, I am using Excel 2007.
Thank you so much in advance.