HI
try this modified macro
Ravi![]()
sub total() dim a,b as integer Range("A1:A31).clearcontents for b = 4 to 34 for a = 1 to sheets.count cells(b-3,1) = cells(b-3,1) + worksheets(a).cells(11,3) next a next b end sub
HI
try this modified macro
Ravi![]()
sub total() dim a,b as integer Range("A1:A31).clearcontents for b = 4 to 34 for a = 1 to sheets.count cells(b-3,1) = cells(b-3,1) + worksheets(a).cells(11,3) next a next b end sub
Hi,
Thanks for that; however, I have a syntax error on the following line:
Any thoughts?![]()
Range("A1:A31).clearcontents
youve just missed " mark after the second cell value
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks