hi i'm trying to turn all cells in column d into Proper format, however my code isn't working, see below
any help would be appreciated,
ps
first of all i used different code to go through the whole sheet (see below first, only slightly different), however it did strange things to my date fields any explanations why would be appreciated.
Sub ChangeToProper()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For Each c In Columns("D"
c.Value = WorksheetFunction.Proper(c.Value)
Next c
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
Sub ChangeToProper()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For Each c In ActiveSheet.UsedRange
c.Value = WorksheetFunction.Proper(c.Value)
Next c
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
any help would be appreciated,
ps
first of all i used different code to go through the whole sheet (see below first, only slightly different), however it did strange things to my date fields any explanations why would be appreciated.
Sub ChangeToProper()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For Each c In Columns("D"
c.Value = WorksheetFunction.Proper(c.Value)
Next c
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
Sub ChangeToProper()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For Each c In ActiveSheet.UsedRange
c.Value = WorksheetFunction.Proper(c.Value)
Next c
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub