Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am exporting a cell value from excel to another application with the
following code... Range("t6").Value = Format(Range("t6").Value, "MM/DD/YY") SendKeys Range("t6").Value but when the date is imported to the application it types in the text as "MM/DD/YYYY" What would help? thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
skip the first line. Just use Format directly
SendKeys Format(Range("t6").Value, "MM/DD/YY") -- Regards, Tom Ogilvy "John" wrote in message ... I am exporting a cell value from excel to another application with the following code... Range("t6").Value = Format(Range("t6").Value, "MM/DD/YY") SendKeys Range("t6").Value but when the date is imported to the application it types in the text as "MM/DD/YYYY" What would help? thanks in advance |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you sir
"Tom Ogilvy" wrote: skip the first line. Just use Format directly SendKeys Format(Range("t6").Value, "MM/DD/YY") -- Regards, Tom Ogilvy "John" wrote in message ... I am exporting a cell value from excel to another application with the following code... Range("t6").Value = Format(Range("t6").Value, "MM/DD/YY") SendKeys Range("t6").Value but when the date is imported to the application it types in the text as "MM/DD/YYYY" What would help? thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell Format Overrides to Date Format | Excel Worksheet Functions | |||
How can I get date of file creation to XLS cell in date format? | Excel Worksheet Functions | |||
How do I format a cell to a date format? | Excel Discussion (Misc queries) | |||
cell format for date/time in same cell excel 2003 | Excel Worksheet Functions | |||
Date format problem on export to CSV | Excel Programming |