![]() |
execute code for all 12 months
I have some code I created that I need to run for all 12
months. I use a variable 'CurrentMonth' in 'MyCode' and can set it to Jan or April or whatever. e.g. Dim CurrentMonth As String CurrentMonth = "jan" Call MyCode I want this code to loop through all 12 months and execute 'MyCode'. How would I do that? .........thanks in advance........Herb |
All times are GMT +1. The time now is 12:10 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com