Hi
I don't know if this helps, but you could try this, using the cells object
Code:
Sub Test()
Dim LastCol As Long
Dim LastRow As Long
LastCol = 6
LastRow = 22
ActiveSheet.Range(Cells(1, 1), Cells(LastRow, LastCol)).Select
Selection.Copy
End Sub
OR even this
Code:
Sub Test()
Dim RangeAddress As String
Dim LastCol As Long
Dim LastRow As Long
LastCol = 6
LastRow = 22
ActiveSheet.Range("A1", Cells(LastRow, LastCol)).Select
Selection.Copy
End Sub
Does that help ?
MTB