View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter T[_5_] Peter T[_5_] is offline
external usenet poster
 
Posts: 84
Default How to format cells to General via vba

rng.NumberFormat = "General"

Regards,
Peter T

"Simon" wrote in message
...
Some cells are pasted in from external sources as a date. I used the
record and play option but it didn't pick up how to format cells as
General.

How is this possible?

Thanks