I'm trying to tie Cell References to Named Ranges so that macros that use references aren't broken if columns are added or subtracted.
Here's the code I wrote that unfortunately doesn't work.
Here's the code I wrote that unfortunately doesn't work.
VBA Code:
Sub Test()
Worksheets("Sheet1").Range("DestinationColumn").Value = Worksheets("Sheet1").Range("SourceColumn" & ActiveCell.Row).Value
End Sub