Macro Query
Hello Jarek,
Fast question. Instead of the macro pasting to the values to the last
worksheet vertically, is there anyway it can paste the values horizontally?
Please Help
"Jarek Kujawa" wrote:
try this macro
Sub kopiuj()
For Each Worksheet In ActiveWorkbook.Worksheets
i = i + 1
If i < ActiveWorkbook.Worksheets.Count Then
Worksheets(i).Range("M6").Copy
Worksheets(ActiveWorkbook.Worksheets.Count).Cells( i, 1).PasteSpecial
Paste:=xlValues
End If
Next
End Sub
pastes values from M6 in any worksheet (but the last one) to the last
one, starting from A1
adjust yr ranges as necessary
|