kimoishappy
New Member
- Joined
- Nov 28, 2016
- Messages
- 5
Hello everyone,
I'm a mega noob a Macros and i want to learn, i had a question how to paste stuff in the next availbale free space not over writting so i googled found your forum which i now love and added to favorites.
I saw this response and just modified the values for my use and it works like a charm but im the kinda guy that well just cause it works i dont let it be. i want to understand how it works can some one please drill it down for me?
Sub test1()
Range("A3:B16").Copy Sheets("Sheet4").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
End Sub
So the rage i get, the copy sheets i get.. this is what i get:
Range("A3:B16").Copy Sheets("Sheet4").Range("A"
what ever is after it i dont get... so this is the part i dont get:
& Rows.Count).End(xlUp).Offset(1, 0)
what does rows.count or the rest do? can some one please explain? also end(xlup)? offset?
please, thanks to this forum and its smart people i used the code and it works but now i want to understand it..
PS: Any good books you might recommend for a noob?
thank you
I'm a mega noob a Macros and i want to learn, i had a question how to paste stuff in the next availbale free space not over writting so i googled found your forum which i now love and added to favorites.
I saw this response and just modified the values for my use and it works like a charm but im the kinda guy that well just cause it works i dont let it be. i want to understand how it works can some one please drill it down for me?
Sub test1()
Range("A3:B16").Copy Sheets("Sheet4").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
End Sub
So the rage i get, the copy sheets i get.. this is what i get:
Range("A3:B16").Copy Sheets("Sheet4").Range("A"
what ever is after it i dont get... so this is the part i dont get:
& Rows.Count).End(xlUp).Offset(1, 0)
what does rows.count or the rest do? can some one please explain? also end(xlup)? offset?
please, thanks to this forum and its smart people i used the code and it works but now i want to understand it..
PS: Any good books you might recommend for a noob?
thank you