Simulate same cell selection in 2 or more worksheets

Mr Novice

New Member
Joined
Jan 2, 2018
Messages
4
Can someone help me with this one please :confused:

I have a spreadsheet with 2 tabs (worksheets) Tab 1 and Tab 2
I would like which ever cell I have selected in Tab 1 to be the same in Tab 2.
So as I move around to different cells in Tab 1 the same thing happens in Tab 2
Is this possible?
Many thanks in advance.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
A range cannot be selected unless it is on the active sheet.
You could put this in the sheet's code module for each of the sheets. When putting in the Sheet2's code module, change the referece to Sheet 1
Code:
' in code module for Sheet1

Public LastSelect As Range

Private Sub Worksheet_Activate()
    Me.Range(Sheet2.LastSelect.Address).Select
End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
     Set LastSelect = Target
End Sub
 
Upvote 0
Select Tab2, hold down Ctrl, select Tab1.
Make your selections in Tab1.

Alternatively, put this in the Tab1 module :
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim a$
Application.EnableEvents = False
a = Target.Address
Sheets("Tab2").Select
Sheets("Tab2").Range(a).Select
Sheets("Tab1").Select
Application.EnableEvents = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top