Hi, I was wondering if I could rename an excel export. I'm actually surprised there isn't a "sheetname". I guess I could rename my query table but I don't want to, die to organisational reasons. Here is my statement:
StrTable="3_boxphase"
Docmd.TransferSpreadsheet Transfertype:=acexport, spreadsheettype=acspreadtypeexcel12xml, table name:= strTable filename:=strdestpath, hasfieldnames:=True
So strTable is a query name, but I would like to call the sheet "Box"
StrTable="3_boxphase"
Docmd.TransferSpreadsheet Transfertype:=acexport, spreadsheettype=acspreadtypeexcel12xml, table name:= strTable filename:=strdestpath, hasfieldnames:=True
So strTable is a query name, but I would like to call the sheet "Box"