ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Retrieving Names of Worksheets (https://www.excelbanter.com/excel-programming/339813-retrieving-names-worksheets.html)

Brad Sumner

Retrieving Names of Worksheets
 
I have need to retrieve the names of some worksheets to populate a list of
data. Any help in doing this would be appreciated.

Mark

Retrieving Names of Worksheets
 
dim i as integer

for i = 1 to activeworkbook.sheets.count step 1

msgbox sheets(i).name

next i



"Brad Sumner" wrote:

I have need to retrieve the names of some worksheets to populate a list of
data. Any help in doing this would be appreciated.



All times are GMT +1. The time now is 05:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com