I have a spreadsheet with 13 worksheet (12 months & the 13th worksheet for a user guide). Each of the 12 month worksheets follows the same template, B2:K2 contain field names.
I need to export a years worth of data from 2 tables in a 1 to many relationship (1 - staff data, Many - Breach data, link is purely to get data like staff name, location, etc from the staff data table) into the appropriate worksheet based on the month of one of the fields (Date/Time format).
I have been playing with both OutputTo and TransferSpreadsheet but I am having trouble getting either to populate an existing worksheet in an existing workbook.
I spent a good 3-4 hours this morning working on a different Excel automation in VBA and am really hoping I can get this working through a standard function rather than having to code another load of automation.
Google has been limited help as things like "access export existing spreadsheet" are commonly used words.
Any help anyone can give about populating existing spreadsheets with data from Access without automating it in VBA would be greatly appreciated.
I need to export a years worth of data from 2 tables in a 1 to many relationship (1 - staff data, Many - Breach data, link is purely to get data like staff name, location, etc from the staff data table) into the appropriate worksheet based on the month of one of the fields (Date/Time format).
I have been playing with both OutputTo and TransferSpreadsheet but I am having trouble getting either to populate an existing worksheet in an existing workbook.
I spent a good 3-4 hours this morning working on a different Excel automation in VBA and am really hoping I can get this working through a standard function rather than having to code another load of automation.
Google has been limited help as things like "access export existing spreadsheet" are commonly used words.
Any help anyone can give about populating existing spreadsheets with data from Access without automating it in VBA would be greatly appreciated.