prathi
2003-12-30 14:46:07 UTC
Hi,
I am refreshing all the pivot tables in an excel spreadsheet with an activex script from the server. It works fine but when I open the .xls file, the file is hidden. I have to go into windows, unhide in excel and unhide it. This is the activex script I am using
Function Main()
dim xlapp
dim xlbooks
dim xlsheet
dim SheetName
set xlapp = createobject("Excel.Application")
set xlbooks = getobject("\\ausdsps301\pub_trans$\marketing_liist\cra_detail.xls")
SheetName = "sheet1"
set xlsheet = xlbooks.worksheets(Sheetname)
xlbooks.RefreshAll
xlbooks.Save
xlapp.quit
Main = DTSTaskExecResult_Success
End Function
How do get around this ?
Thanks Prathi
I am refreshing all the pivot tables in an excel spreadsheet with an activex script from the server. It works fine but when I open the .xls file, the file is hidden. I have to go into windows, unhide in excel and unhide it. This is the activex script I am using
Function Main()
dim xlapp
dim xlbooks
dim xlsheet
dim SheetName
set xlapp = createobject("Excel.Application")
set xlbooks = getobject("\\ausdsps301\pub_trans$\marketing_liist\cra_detail.xls")
SheetName = "sheet1"
set xlsheet = xlbooks.worksheets(Sheetname)
xlbooks.RefreshAll
xlbooks.Save
xlapp.quit
Main = DTSTaskExecResult_Success
End Function
How do get around this ?
Thanks Prathi