I have code which copies a range and transfers the values in a next blank row continuously, for a single sheet.
I want the same done in multiple worksheets in a single go.
How to assign multiple sheet names?
Option Explicit
Dim myTimer As Date
Sub GetMyData1()
    Application.ScreenUpdating = False
    Dim lastrow As Long, nextblankrow As Long
    myTimer = Now + TimeValue("00:02:00")
    Application.OnTime myTimer, "GetMyData1"
    Dim rng1 As Range
    Set rng1 = Worksheets("Adata").Range("A2:P2")
    rng1.Copy
    lastrow = Sheets("Adata").Range("A" & Rows.Count).End(xlUp).Row
    nextblankrow = lastrow + 1
    Sheets("Adata").Range("A" & nextblankrow).PasteSpecial xlPasteValues
    ActiveWorkbook.RefreshAll
    Application.ScreenUpdating = True
End Sub
 
     
    