My Assistant
![]() ![]() |
|
|
May 29 2008, 08:11 AM
Post
#1
|
|
|
UtterAccess Veteran Posts: 410 From: Teesside, UK |
Hi
I am wanting to output a number of queries to a single excel document (system created) I would like to result of each query to be on a seperate worksheet. Is any of this possible?? Thankyou |
|
|
|
May 29 2008, 08:25 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 8,450 From: Dunbar,Scotland |
|
|
|
|
May 29 2008, 08:46 AM
Post
#3
|
|
|
UtterAccess Veteran Posts: 410 From: Teesside, UK |
Erm.
I dont really know, seems very complicated to me, also it uses a PREFormatted excel file which I do not have! |
|
|
|
May 29 2008, 09:05 AM
Post
#4
|
|
|
UtterAccess Veteran Posts: 410 From: Teesside, UK |
I have found a way that you can export the 3 queries, one after the other using Transfer Spreadsheet.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryOne", "C:\...MyFile.xls" DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryTwo", "C:\...MyFile.xls" DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryThree", "C:\...MyFile.xls" The above will give you 3 tabs in the same workbook. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 07:56 PM |