Hi There
In one of my worksheets, the undo function has stopped working, it has been suggested that the problem I am having is due to the VB applied to this worksheet:
HOWEVER this VB has been applied to this worksheet for YEARS and it's only today that the undo has stopped worked?!!? Please note that the undo function works on all other worksheets.
Please Help
Thanks
Megan
In one of my worksheets, the undo function has stopped working, it has been suggested that the problem I am having is due to the VB applied to this worksheet:
Code:
Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
'Update 20140318
Static xRow
Static xColumn
If xColumn <> "" Then
With Columns(xColumn).Interior
.ColorIndex = xlNone
End With
With Rows(xRow).Interior
.ColorIndex = xlNone
End With
End If
pRow = Selection.Row
pColumn = Selection.Column
xRow = pRow
xColumn = pColumn
With Columns(pColumn).Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
HOWEVER this VB has been applied to this worksheet for YEARS and it's only today that the undo has stopped worked?!!? Please note that the undo function works on all other worksheets.
Please Help
Thanks
Megan
Last edited by a moderator: