P
Patrick Simonds
Not sure why the code below does not work. It woks fine if I use
Me.Range("A2:A301").Value = Me.Range("B2:B301").Value But I need the
returned value to be limited to only the first 15 characters. When I run the
code below, no value is placed into column A.
Private Sub Worksheet_Calculate()
On Error GoTo Finish
Module1.UnprotectWorkSheet
Me.Range("A2:A301").Value = Left(Me.Range("B2:B301").Value, 15)
Finish:
End Sub
Me.Range("A2:A301").Value = Me.Range("B2:B301").Value But I need the
returned value to be limited to only the first 15 characters. When I run the
code below, no value is placed into column A.
Private Sub Worksheet_Calculate()
On Error GoTo Finish
Module1.UnprotectWorkSheet
Me.Range("A2:A301").Value = Left(Me.Range("B2:B301").Value, 15)
Finish:
End Sub