MrPetreli formulated the question :
I have a very unusual problem with the below code, which for some reason
changes the date format on all cells in my spreadsheet from dd/mm/yyyy
to mm/dd/yyyy. I tried to solve it but not luck with If x.Value =
IsDate(x.Value) Then Exit Sub
Try...
Sub Uppercase()
Application.ScreenUpdating = False
Dim x As Range
For Each x In Selection
If Not IsDate(x.Value) Then x.Value = UCase(x.Value)
Next 'x
Application.ScreenUpdating = True
End Sub
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.
vb.general.discussion