HI
have some code that will fire up BO and refresh a query, however from there I want BO to simply save the results as a .XLS file
Here is the code so far, what do i need to tack on the end?
Thanks,
Andy
Dim BOApp As busobj.Application
Dim Doc As busobj.Document
Dim DataProv As busobj.DataProvider
Dim i As Long, j As Long
Set BOApp = New busobj.Application
BOApp.Visible = False
Call BOApp.LoginAs
Set Doc = BOApp.Documents.Open("C:\NCRS Audit Tools\NCRS Test One\NCRS T1.rep")
Doc.Refresh
have some code that will fire up BO and refresh a query, however from there I want BO to simply save the results as a .XLS file
Here is the code so far, what do i need to tack on the end?
Thanks,
Andy
Dim BOApp As busobj.Application
Dim Doc As busobj.Document
Dim DataProv As busobj.DataProvider
Dim i As Long, j As Long
Set BOApp = New busobj.Application
BOApp.Visible = False
Call BOApp.LoginAs
Set Doc = BOApp.Documents.Open("C:\NCRS Audit Tools\NCRS Test One\NCRS T1.rep")
Doc.Refresh