Deprecated: Creation of dynamic property ternplugin\youtube_video::$post is deprecated in /home1/cassanoc/public_html/bonbonsguide.com/wp/wp-content/plugins/automatic-video-posts/vendor/ternstyle/plugin/src/class/youtube_video.php on line 64

Excel Mirror Changes Made Here or There – 2422

Subhash wants to make changes in either the source or copied data and have it reflected in the other place. A little bit of VBA makes this possible.
The code from the video:
Private Sub Worksheet_Change(ByVal Target As Range)
MirrorCell = False
Select Case Target.Address
Case “$D$3”
MirrorCell = “B7”
Case “$E$3”
MirrorCell = “B8”
Case “$F$3”
MirrorCell = “B9”
Case “$G$3”
MirrorCell = “B10”
Case “$H$3”
MirrorCell = “B11”
Case “$B$7”
MirrorCell = “D3”
Case “$B$8”
MirrorCell = “E3”
Case “$B$9”
MirrorCell = “F3”
Case “$B$10”
MirrorCell = “G3”
Case “$B$11”
MirrorCell = “H3”
End Select
If MirrorCell = False Then Exit Sub
Application.EnableEvents = False
Range(MirrorCell).Value = Target.Value
Application.EnableEvents = True
End Sub

Further Help

I offer limited consulting services to potentially assist you with data challenges, whether it's designing a complex Excel formula, writing a macro or building a whole new process for data capture, modeling and analysis.  Contact me if you have a need.