Hope below code helps:
*Cells(1, 1).Value = Format("23-Mar-2009", "yyyy/mm/dd")*
*
*
*
*Thanks & Regards,

Harmeet Singh

Sent via BlackBerry Wireless


On Mon, Sep 28, 2009 at 10:39 PM, Duncan - UK <[email protected]>wrote:

>
> Hi there,
>
> Fairly new to VBA.
>
> I am trying to convert a column (header is date) into dates.
>
> For some reason using the below does not seem to work:
>
>  Selection.NumberFormat = "yyyy/mm/dd"
>
> Any idea?
>
> Thanks.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to [email protected]
If you find any spam message in the group, please send an email to:
Ayush Jain  @ [email protected] or
Ashish Jain @ [email protected]
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to