Sorry to bother you again. The code that you all shared works perfectly. But, I think I messed it up when I attempted to add to the code to make another cell mirror the value of another. I hope you can look at it and see how I can possibly correct it. Here's the link to the file:
https://drive.google.com/open?id=1Z1T5xBofNAtQvvJwkwUxHeGZESvrA6a5
Additional Notes:
If you look under the 'Results Summary' sheet, you will see the list of cells I want the value to be mirrored to cells in other sheets. They are highlighted in red border.
For items from B4-B152, I want the corresponding cells under Result and Date columns to be mirrored in cells under the other sheets (sheet names are the same as each test case ID)
Example:
For 'P2P.PIV2' sheet, I need cell C12 to have the same value as 'Results Summary'!E4, and C15 to 'Results Summary'!F4.
For items from B153-B343, I only want the value of each corresponding cells under the 'Result' tab to reflect the value of each corresponding cells for the 'Overall Result' found on any of the following sheets:
1. Dev - Workflow Testing
2. PS - Workflow Testing
3. Corp - Workflow Testing
Example:
1. AU PO WF-1A [WF - DEV (Approval)] - 'Results Sumarry'!E153 should be the same as 'Dev - Workflow Testing'!O20
2. AU PO WF-1A [WF - DEV (Reject)] - 'Results Sumarry'!E154 should be the same as 'Dev - Workflow Testing'!W2
Not quite. Here is how I would do it:
For Sheet1 module:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
' To be placed in Sheet1 module
Dim rng As Range
Dim cell As Range
Dim addr As String
' Capture cells updated in our designated range
Set rng = Intersect(Target, Range("A1:A5"))
' Exit if no cells in range being updated
If rng Is Nothing Then Exit Sub
Application.EnableEvents = False
' Loop through cells just updated in our designated range
For Each cell In rng
' Capture address and update corresponding cell on sheet 2
addr = cell.Address
Sheets("Sheet2").Range(addr) = cell
Next cell
Application.EnableEvents = True
End Sub
For Sheet2 module:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
' To be placed in Sheet2 module
Dim rng As Range
Dim cell As Range
Dim addr As String
' Capture cells updated in our designated range
Set rng = Intersect(Target, Range("A1:A5"))
' Exit if no cells in range being updated
If rng Is Nothing Then Exit Sub
Application.EnableEvents = False
' Loop through cells just updated in our designated range
For Each cell In rng
' Capture address and update corresponding cell on sheet 2
addr = cell.Address
Sheets("Sheet1").Range(addr) = cell
Next cell
Application.EnableEvents = True
End Sub