View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
ward376 ward376 is offline
external usenet poster
 
Posts: 360
Default reformatting "text" format for dates and numeric data

For the numeric entries you can do something like:

With yourrange
.NumberFormat = "General"
.Value = .Value
End With

this will convert the dates, but depending on your regional settings
and what was entered into the cell, they may not be accurate. It will
convert anything excel recognizes as a date to the number that
represents the date that excel thinks it is.

Cliff Edwards