There may be an easier way but this is what i have so far:
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet
' Open Excel
Set xlApp = Excel.Application
' Open Performance workbook
Set xlBook = xlApp.Workbooks.Open("c:\performance\test.xls"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
' Add a new sheet
Set xlSheet = xlBook.Sheets.Add
' Rename the new sheet
xlSheet.Name = "testing"
xlApp.Visible = True
I have a table AND an existing xls file. I would like to export the data into a NEW sheet within the existing xls sheet.
I thought maybe the transfertext method, but it doesn't look like it will do the job.
Cheers 4 any help on this! Nick (Everton Rool OK!)
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet
' Open Excel
Set xlApp = Excel.Application
' Open Performance workbook
Set xlBook = xlApp.Workbooks.Open("c:\performance\test.xls"
' Add a new sheet
Set xlSheet = xlBook.Sheets.Add
' Rename the new sheet
xlSheet.Name = "testing"
xlApp.Visible = True
I have a table AND an existing xls file. I would like to export the data into a NEW sheet within the existing xls sheet.
I thought maybe the transfertext method, but it doesn't look like it will do the job.
Cheers 4 any help on this! Nick (Everton Rool OK!)