aarondewberry
IS-IT--Management
Hi all. I use this bit of code to export my data straight from Business Objects into an excel spreadsheet. This is fine when I have only one report in my BO doc.
How do I export to my excel spreadsheet if I have, say, three reports in one document, so that it appears in my excel spreadsheet under three seperate tabs?
Is this possible?
Dim Doc As Document
Dim Rep As Report
Set Doc = Application.Documents.Item(1)
Set Rep = Doc.Reports.Item(1)
Rep.ExportAsText ("file string.." + ".xls")
Many Thanks
How do I export to my excel spreadsheet if I have, say, three reports in one document, so that it appears in my excel spreadsheet under three seperate tabs?
Is this possible?
Dim Doc As Document
Dim Rep As Report
Set Doc = Application.Documents.Item(1)
Set Rep = Doc.Reports.Item(1)
Rep.ExportAsText ("file string.." + ".xls")
Many Thanks