Professional Documents
Culture Documents
Useful Macro Kaly
Useful Macro Kaly
' Loop through all worksheets in the workbook that is running the script
Dim sourceSheet As Worksheet
For Each sourceSheet In ThisWorkbook.Worksheets
If sourceSheet.Name <> destinationSheet.Name Then
' Resize and assign values from source range (using value2 speeeds up
things)
targetCell.Resize(sourceRange.Rows.Count,
sourceRange.Columns.Count).Value2 = sourceRange.Value2
End If
Next sourceSheet
End Sub