I have a problem with the proper function. 5 Stars for the one who can me with this.
Set X as Variant
If ActiveCell.Column = 2 Then
Application.ScreenUpdating = False
Application.EnableEvents = False
Application.Cursor = xlIBeam
Set X = Worksheets("Personnel"
.Cells(1, ActiveCell.Column - 1)
Worksheets("Personnel"
.X.Address.Value = Excel.Application.WorksheetFunction.Proper(X.Value)
Application.ScreenUpdating = True
Application.EnableEvents = True
Application.Cursor = xlDefault
End If
The bold line keeps error out. What gives.
Thank you in advance.
G.C.
Set X as Variant
If ActiveCell.Column = 2 Then
Application.ScreenUpdating = False
Application.EnableEvents = False
Application.Cursor = xlIBeam
Set X = Worksheets("Personnel"
Worksheets("Personnel"
Application.ScreenUpdating = True
Application.EnableEvents = True
Application.Cursor = xlDefault
End If
The bold line keeps error out. What gives.
Thank you in advance.
G.C.