MWhiteDesigns
Well-known Member
- Joined
- Nov 17, 2010
- Messages
- 646
- Office Version
- 2016
- Platform
- Windows
Good morning Guys!
Back again. I have another test for you guys.
I have a Workbook, a sheet on this workbook looks up information based on what is inputted in a cell. This information is displayed in a row of cells. There is a macro button I created that when clicked, it will copy all the information in these cells. The code is shown below.
Is there a way to make the macro button perform as such:
When clicked, it will copy selected cells, then automatically paste it in say worksheet "AR" starting at row 21. If it is clicked again, it will paste in the next available row. Does that make sense?
OR
Same action, slightly different result.
When clicked, it will copy selected cells, then automatically paste it in a completely different workbook in worksheet "AR" starting at row 21. If it is clicked again, it will paste in the next available row. Does that make sense?
As always, thanks in advance!
Back again. I have another test for you guys.
I have a Workbook, a sheet on this workbook looks up information based on what is inputted in a cell. This information is displayed in a row of cells. There is a macro button I created that when clicked, it will copy all the information in these cells. The code is shown below.
Code:
Sub AR_Form_Copy()
'
' AR_Form_Copy Macro
' Macro recorded 7/7/2010 by ayv814
'
'
Range("A15:R15").Select
Selection.Copy
Selection.End(xlUp).Select
Selection.End(xlUp).Select
Selection.End(xlUp).Select
End Sub
When clicked, it will copy selected cells, then automatically paste it in say worksheet "AR" starting at row 21. If it is clicked again, it will paste in the next available row. Does that make sense?
OR
Same action, slightly different result.
When clicked, it will copy selected cells, then automatically paste it in a completely different workbook in worksheet "AR" starting at row 21. If it is clicked again, it will paste in the next available row. Does that make sense?
As always, thanks in advance!
Last edited: