Phoenix_Turn
New Member
- Joined
- May 11, 2011
- Messages
- 37
Hi all just wondering what do these syntax in vba mean?
1)
Do Until ActiveCell = ""
ActiveCell.Offset(1, 0).Select
Loop
intRow = ActiveCell.Row
Set rngSheet = shtSheet.Range("A7:D" & intRow)
rngSheet.Select
rngSheet.Copy
Then
2)
Do
ActiveCell.Offset(3, 2).Select
Loop While Not IsEmpty(ActiveCell)
ActiveSheet.Paste
Can someone define what each function and each line does? Thanks
1)
Do Until ActiveCell = ""
ActiveCell.Offset(1, 0).Select
Loop
intRow = ActiveCell.Row
Set rngSheet = shtSheet.Range("A7:D" & intRow)
rngSheet.Select
rngSheet.Copy
Then
2)
Do
ActiveCell.Offset(3, 2).Select
Loop While Not IsEmpty(ActiveCell)
ActiveSheet.Paste
Can someone define what each function and each line does? Thanks
Last edited: