First you will need to create a new button, then after the button is successfully created, the destination macro screen appears.
Copy this code
Sub Button1_Click() Worksheets("sheet2").Activate End Sub
like a macro
change sheet2 to suit your scenario.
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object) Sheets.Select ActiveCell.EntireRow.Select ActiveSheet.Select
will synchronize the entire row between sheets - will work only when changing tables ...
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) Sheets.Select ActiveCell.EntireRow.Select ActiveSheet.Select End Sub
will be triggered every time the user changes cells in the active sheet.
source share