Copying a row to another sheet with a trigger
Closed
Zav
-
Jan 20, 2015 at 01:11 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jan 22, 2015 at 10:45 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jan 22, 2015 at 10:45 AM
Related:
- Copying a row to another sheet with a trigger
- Google sheet right to left - Guide
- Saints row 2 cheats - Guide
- Windows network commands cheat sheet - Guide
- How to delete a row in a table in word - Guide
- Little alchemy cheat sheet - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Jan 22, 2015 at 10:45 AM
Jan 22, 2015 at 10:45 AM
Hi Zav,
First create a button:
Developer ribbon > insert > command button (ActiveX)
Right-click the button and select View code.
Paste the following in between the two already existing code lines:
Best regards,
Trowa
First create a button:
Developer ribbon > insert > command button (ActiveX)
Right-click the button and select View code.
Paste the following in between the two already existing code lines:
Dim Check As String Check = MsgBox("The selected row will be copied to the 'Visited' sheet.", vbOKCancel, "Copying row") If Check = vbCancel Then Exit Sub Selection.Copy Sheets("Visited").Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
Best regards,
Trowa