Excel 2003 on Windows XP.
I have a workbook that has 40 tabs. I want to copy a cell value from each worksheet and paste it in a column on a new worksheet that I have created. I never was great at writing macros but haven't done any lately.
Each sheet name is the date it was created on - like 01042011. The names generally are a week apart but that may not hold exactly true. I am having a problem accessing each worksheet in a loop like for/next.
Could I use the (name) like 'sheet76' in the vba code?
Should I use something other than for/next?
Thanks,
Harold
I have a workbook that has 40 tabs. I want to copy a cell value from each worksheet and paste it in a column on a new worksheet that I have created. I never was great at writing macros but haven't done any lately.
Each sheet name is the date it was created on - like 01042011. The names generally are a week apart but that may not hold exactly true. I am having a problem accessing each worksheet in a loop like for/next.
Could I use the (name) like 'sheet76' in the vba code?
Should I use something other than for/next?
Thanks,
Harold