Hi Guys!
I have a sheet that is going to be used every day and i want to press a button and cut today's data and copy in a history sheet. Im kinda new to VBA but was able to cut and paste the data of the day successfully but when i press the button to log another day, the data overwrite the last one, im not being able to paste it in the next blank row.
So i select A11, press Ctrl + Shift Right and Down to select all the data
.
And pasted it in the other sheet
How do i make it paste in the next blank space everytime?
My VBA looks like this right now
-------------------------------------------------------
Range("A11").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Cut
Sheets("Historico").Select
Range("A2").Select
ActiveSheet.Paste
Sheets("Gerenciamento").Select
Application.CutCopyMode = False
I have a sheet that is going to be used every day and i want to press a button and cut today's data and copy in a history sheet. Im kinda new to VBA but was able to cut and paste the data of the day successfully but when i press the button to log another day, the data overwrite the last one, im not being able to paste it in the next blank row.
So i select A11, press Ctrl + Shift Right and Down to select all the data
.
And pasted it in the other sheet
How do i make it paste in the next blank space everytime?
My VBA looks like this right now
-------------------------------------------------------
Range("A11").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Cut
Sheets("Historico").Select
Range("A2").Select
ActiveSheet.Paste
Sheets("Gerenciamento").Select
Application.CutCopyMode = False