Hi all, I have a problem with VB in Excel. I'm trying to loop through sheets to pick up information and consolidate into another main sheet.
My sheets names are by dates for the month, eg T01-Nov-01, T02-Nov-01, T05-Nov-01 etc. Dates are only for working days in the month (from 01-31 of the month.), therefore the dates will skip the weekends. I need to do a month-end consolidation by going to the data sheets (looping through them) to cut some info and paste it into a consolidated sheet.
How can I going about loop through the sheets, such that when coming to a weekend, it automatically skip if it cannot find the sheet? The day is running, but the prefix T, Month and Date is constant for the month. Is there any other methods of going about this?
Thanks a lot![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
My sheets names are by dates for the month, eg T01-Nov-01, T02-Nov-01, T05-Nov-01 etc. Dates are only for working days in the month (from 01-31 of the month.), therefore the dates will skip the weekends. I need to do a month-end consolidation by going to the data sheets (looping through them) to cut some info and paste it into a consolidated sheet.
How can I going about loop through the sheets, such that when coming to a weekend, it automatically skip if it cannot find the sheet? The day is running, but the prefix T, Month and Date is constant for the month. Is there any other methods of going about this?
Thanks a lot