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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -