J
Joe R.
I'm using the TransferSpreadsheet method to create an
Excel spreadsheet. The name of the tab assigned for the
spreadsheet is the name of the query or table from which
it was created.
To manually designate a worksheet tab name, I can rename
the query and export the results to an Excel workbook. My
question is, is there a way using TransferSpreadsheet or
some other function/method to designate a tab name? I
know I can designate the file name.
If there is not a way to designate a tab name, would some
one provide the VB code to rename or copy a query and then
to delete the copied query?
Or if there a better way to approach this, I would
appreciate your input.
Excel spreadsheet. The name of the tab assigned for the
spreadsheet is the name of the query or table from which
it was created.
To manually designate a worksheet tab name, I can rename
the query and export the results to an Excel workbook. My
question is, is there a way using TransferSpreadsheet or
some other function/method to designate a tab name? I
know I can designate the file name.
If there is not a way to designate a tab name, would some
one provide the VB code to rename or copy a query and then
to delete the copied query?
Or if there a better way to approach this, I would
appreciate your input.