View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Change date format

Some details on the data would be useful, otherwise we are guessing.

To get the different date format, simply format the target cell as dd-mmm-yy

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tempy" wrote in message
...
Good day,

Thanks for all the help with my previouse queries, i am from South
Africa so there is quite a time delay.

I have two spread sheets and i copy a purchase order number from one to
the other using a Vlookup, which works fine, however i now need to copy
the date of the same order but require a different format.

The original format is text 20041105 and i need it to be 05-Nov-04 in
the new workSheet.

The formula i am using is;
ActiveCell.FormulaR1C1 =
"=VLOOKUP(RC[-23],LCS_Complete_E90.xls!C1:C12,2,0)"

Some help with some code would be appreciated.

Thanks

Tempy

*** Sent via Developersdex http://www.developersdex.com ***