Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
I have this code for 'twinning cells' which I found on an old post in here from 2009.... Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False If Target.Address = Range("a1").Address Then Range("b1") = Target If Target.Address = Range("b1").Address Then Range("a1") = Target Application.EnableEvents = True End Sub This code works fine, BUT, I want it to work over more than one work sheet, i.e. cell A1 on Worksheet1 is the twin of cell A1 on Worksheet2 but I can't figure out how to get it to work. There are no comments on the original post about working across multiple sheets. If anyone could point me in the right direction of how to do this that would be ace. Many thanks, Chris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel: match two cells in one sheet to two cells in another and return a third cells value | Excel Worksheet Functions | |||
compare 2 column cells and return the adjacent columns cells data of the cell | Excel Worksheet Functions | |||
Select Merged Cells and Unmerge Spread Merge Data To All Cells | Excel Programming | |||
Cells won't change font color or show hi-lighted cells in document | Excel Discussion (Misc queries) | |||
Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells | Excel Programming |