ianb
Member
Hi,
I have been using excel 2003 and if I want to load the spreasheet that automatically refreshes the data I just click on the file.
If I want to bypass the uploading of the data (refresh pivot tables) I just point a vbscript to a module in the spresheet and it bypassed the refresh. Great if you consider it takes 5 minutes to load the data.
My Question is this. How can I do this in Excel 2007 and Excel 2010 as the vbscript loads the data ???
Here is what I do for Excel 2003 in a vbscript.... The Module in Excel does not need to contain anything except to goto a start sheet and range.
option explicit
Dim oExcel, oStats
Set oExcel = CreateObject("Excel.Application")
oExcel.Visible = True
oExcel.DisplayAlerts = False
oExcel.AskToUpdateLinks = False
Set oStats = oExcel.Workbooks.Open("H:ReportsStatisticsDashboard.xls")
oExcel.Run "MacroNamedBlob"
I have been using excel 2003 and if I want to load the spreasheet that automatically refreshes the data I just click on the file.
If I want to bypass the uploading of the data (refresh pivot tables) I just point a vbscript to a module in the spresheet and it bypassed the refresh. Great if you consider it takes 5 minutes to load the data.
My Question is this. How can I do this in Excel 2007 and Excel 2010 as the vbscript loads the data ???
Here is what I do for Excel 2003 in a vbscript.... The Module in Excel does not need to contain anything except to goto a start sheet and range.
option explicit
Dim oExcel, oStats
Set oExcel = CreateObject("Excel.Application")
oExcel.Visible = True
oExcel.DisplayAlerts = False
oExcel.AskToUpdateLinks = False
Set oStats = oExcel.Workbooks.Open("H:ReportsStatisticsDashboard.xls")
oExcel.Run "MacroNamedBlob"