View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
[email protected] sbcook@gmail.com is offline
external usenet poster
 
Posts: 1
Default Change MM/DD/YYYY to MM.DD.YYYY

The easiest way is to use the Text() Function.. in pure Excel you would
just do

Text("10/12/1984", "mm.dd.yyyy")

So to run it in VB, do this:

Application.Worksheetfunction.Text("10/12/1984", "mm.dd.yyyy")

Easy one liner