Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nevermind. Selection.NumberFormat = "m\/d\/yyyy" fixes it.
undrline wrote: Here is my attempt at using SendKeys: Selection.NumberFormat = "m/d/yyyy" SendKeys "%o", True ' Format SendKeys "e", True ' Cells... ' Here's where it gets stuck: ' First, have to hope that the "Numbers" tab is the one showing ' Second, it stops with the dialog open, doesn't tab to the selected entry. ' And, if I try to complete the operation manually, it continues, tab and all, after I select OK to the dialog. SendKeys "{TAB}", True SendKeys "c", True ' date format from previous line; only one C needs to be pressed SendKeys "{TAB}", True SendKeys "m/d/yyyy", True SendKeys "{TAB}", True SendKeys "{TAB}", True SendKeys "{TAB}", True SendKeys "{ENTER}", True I found the problem. Help me fix it, please . . . [quoted text clipped - 17 lines] Matt -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200705/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking computer dates (time) to spreadsheet dates that have formu | Excel Worksheet Functions | |||
Toggle a range of Julian dates to Gregorian Dates and Back | Excel Programming | |||
Identifying unique dates within a range of cells containing dates | Excel Discussion (Misc queries) | |||
Calculating number of days between two dates that fall between two other dates | Excel Discussion (Misc queries) | |||
Charting data against dates where dates are not at fixed intervals | Charts and Charting in Excel |