Can't get this to work, could somebody please help me out, to export my report out as an excel file from the Macro:
Sub BANCO_AUSTRAL()
Dim Doc As Document
Dim Rep As Report
Application.Documents.Open ("c:\BalancsvSheet.rep"
Application.Documents.Open("c:\BalancsvSheet.rep".Application.Documents.Open("c:\BalancsvSheet.rep".Reports.Item("c:\BalancsvSheet.rep".ExportAsText ("C:\TEMP\Test" + ".xls"
Application.Documents.Open("c:\BalancsvSheet.rep".Close
MsgBox ("COMPLETE. THANK YOU"
End Sub
Sub BANCO_AUSTRAL()
Dim Doc As Document
Dim Rep As Report
Application.Documents.Open ("c:\BalancsvSheet.rep"
Application.Documents.Open("c:\BalancsvSheet.rep".Application.Documents.Open("c:\BalancsvSheet.rep".Reports.Item("c:\BalancsvSheet.rep".ExportAsText ("C:\TEMP\Test" + ".xls"
Application.Documents.Open("c:\BalancsvSheet.rep".Close
MsgBox ("COMPLETE. THANK YOU"
End Sub