Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export As HTML Script

Status
Not open for further replies.

BIProf

MIS
Oct 8, 2001
9
0
0
US
I neet to create a script to export a BO report as html. I'm wondering where I can create the script and what needs to be included so that it runs when the report is submitted to BCA. Any info or samples would be geatly appreciated.
 
See thread393-88021 (VBA in BOB) for an example of some v4 script.

v5 converted this v4 script to VBA with no problems. This is run via the BCA to publish html reports to the intranet.

When submiting the report to the BCA use the "Run Macro" option.

I order to publish the html, the our BCA needed to be logged onto the domain (to have the relevant access to the LAN) and I needed to set "The Interactive User" option in "servconf" before the macro would run.

 
Hi BIProf,

Try to insert this part of code in you document after the refrech:
ActiveDocument.ExportSheetsAsHtml ("G:\spnt\index")


the full code should look like:
Private Sub Document_AfterRefresh()
ActiveDocument.ExportSheetsAsHtml ("G:\spnt\index")
End Sub


Hope it will help,

GKar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top