A
Aussiegirlone
::Can someone help edit this code that I could copy an array of sheets
onto Sheet2 please::
:: ::
::Sub copy_1()::
:: Dim SourceRange As Range, DestRange As Range::
:: Dim DestSheet As Worksheet, Lr As Long::
:: ::
:: With Application::
:: .ScreenUpdating = False::
:: .EnableEvents = False::
:: End With::
:: ::
:: 'fill in the Source Sheet and range::
:: Set SourceRange = Sheets(\"Sheet1\").Range(\"A412\")::
:: ::
:: 'Fill in the destination sheet and call the LastRow::
:: 'function to find the last row::
:: Set DestSheet = Sheets(\"Sheet2\")::
:: Lr = LastRow(DestSheet)::
:: ::
:: 'With the information from the LastRow function we can::
:: 'create a destination cell and copy/paste the source range::
:: Set DestRange = DestSheet.Range(\"A\" & Lr + 1)::
:: SourceRange.Copy DestRange::
:: ::
:: With Application::
:: .ScreenUpdating = True::
:: .EnableEvents = True::
:: End With::
:: ::
::End Sub::
onto Sheet2 please::
:: ::
::Sub copy_1()::
:: Dim SourceRange As Range, DestRange As Range::
:: Dim DestSheet As Worksheet, Lr As Long::
:: ::
:: With Application::
:: .ScreenUpdating = False::
:: .EnableEvents = False::
:: End With::
:: ::
:: 'fill in the Source Sheet and range::
:: Set SourceRange = Sheets(\"Sheet1\").Range(\"A412\")::
:: ::
:: 'Fill in the destination sheet and call the LastRow::
:: 'function to find the last row::
:: Set DestSheet = Sheets(\"Sheet2\")::
:: Lr = LastRow(DestSheet)::
:: ::
:: 'With the information from the LastRow function we can::
:: 'create a destination cell and copy/paste the source range::
:: Set DestRange = DestSheet.Range(\"A\" & Lr + 1)::
:: SourceRange.Copy DestRange::
:: ::
:: With Application::
:: .ScreenUpdating = True::
:: .EnableEvents = True::
:: End With::
:: ::
::End Sub::