So I have 5 querys exported to an excel file (C:/File.xlsx) using transferspreadsheet.
The sheet names are named the same as the query names.
Is it possible to change the sheet names (in the file C:\File.xlsx) to what I want them to be named in access vba? Either after I export, or possibly change the query name before it is exported (all done in vba).
Like a line I would add after transferspreadsheet like oldsheetname.name = newsheetname.
Also need to find out how to change field names in the excel file to what I want in vba.
Looked everywhere, cant find an answer.
Really easy question, I just never had to do it before.