Asked By Phil Smith
12-Nov-09 03:07 PM
I have some code which cycles through a query, resulting in a set of Brands.
When I cycle trough my Brands, I update a query which controls my target
query, then using transferspreadhseet, it sends the results of that
target query query to a different spreadsheet for each brand, the name
of the spreadsheet based on the brand. Works peachy.
Instead, I want to send the results of each run to a different TAB in
the SAME spreadsheet, with the tab name based on the brand.
I do not know ahead of time the brands that will be picked up, and there
are dozens. Is there any way to control the name of the resulting tab
from a transfer spreadsheet?
Alternatively, is there a way from within access, to rename a tab in an
excel Worksheet?
Phil