Guys. quick question. I know how to export an Access query to a new Excel spreadsheet using the DoCmd.TransferSpreadsheet method, but is there a way to make a new tab in an existing spreadsheet and export it to that?
If not, then my users are just going to have to put up with copying data from a second spreadsheet and pasting into a new tab in the first. So it's not a huge drama but it would be a great nice-to-have.
When I want to do some fancy stuff with Excel I usually start with these two links on my website here:-
Sent from my SM-G925F using Tapatalk
Thanks for your help guys, I'm sure I can cobble together a solution that works best for me from your suggestions.
Just makeif you use Same query name it will be copied on same sheet. Create new query or copy existing query to diff name. Use the new query name to transfer to same excel workbook.