I have a select change routine which currently works fine.
I wish to extend it so as I can take the value of the cell 2 rows up in column F and pass it into another macro so I can add the text to an Outlook task (I already have the code for this).
This is my select change routine:
Thanks in advance
I wish to extend it so as I can take the value of the cell 2 rows up in column F and pass it into another macro so I can add the text to an Outlook task (I already have the code for this).
This is my select change routine:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
'Do nothing if more than one cell is changed or content deleted
If Target.Cells.Count > 1 Then Exit Sub
ActiveSheet.Unprotect
If Not Intersect(Target, Range("F10:F100")) Is Nothing Then
With ActiveCell.Offset(-2).EntireRow
.AutoFit
.RowHeight = .RowHeight + 12.75
'Additional code here
End With
End If
ActiveSheet.Protect
Last edited: