G
Guest
Hello,
I created an excel spreadsheet using VBA Code. It creates 3 sheets in one
workbook acquiring the information from queries. However, when the excel
workbook is created and I open the file that VBA saved on my hard drive, it
says that it had to "repair" the workbook, that there were invalid sheet
names. As a result, it named the sheets "Recovered_Sheet1",
"Recovered_Sheet2" and so on. I would like these individual sheets to be
renamed to the queries that I got the data from.
Is this possible within VBA?
Thank you!
MN
I created an excel spreadsheet using VBA Code. It creates 3 sheets in one
workbook acquiring the information from queries. However, when the excel
workbook is created and I open the file that VBA saved on my hard drive, it
says that it had to "repair" the workbook, that there were invalid sheet
names. As a result, it named the sheets "Recovered_Sheet1",
"Recovered_Sheet2" and so on. I would like these individual sheets to be
renamed to the queries that I got the data from.
Is this possible within VBA?
Thank you!
MN