Excel VBA summary paste -
i have tried using following answer: (specified use)
sub makesummary() dim sh worksheet, n long dim long, m long n = sheets.count - 1 m = 2 = 1 n sheets(i).range("a12:b17").copy sheets("allinfo").range("a" & m).pastespecial (xlvalues) sheets("allinfo").range("a" & m).pastespecial (xlformats) m = m + 6 next end sub
i can't seem te macro paste next each other, can see m pasting under each other how macro past next tried m=m+a since column not work.
thanks shairado
if want advance columns, let's row 1, , advance m wanted, use
sheets("allinfo").cells(1, m).pastespecial (xlvalues)
instead – @shai rado
Comments
Post a Comment