View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Brian Handly Brian Handly is offline
external usenet poster
 
Posts: 3
Default Worksheet_Change: Date Time Input [mmddyy hhmm] to [mm/dd/yy hh:mm]

WinXP SP2, Excel XP

I found Chip Pearson's Date Time help:
(http://www.cpearson.com/excel/DateTimeEntry.htm)

However, his Worksheet_Charge example VBA Subroutines are either for
Dates or Times.

I need to handle Date + Time in the same field.

I have tried to combine Chip's two example Subroutines into one, but
have not managed to make a single Subroutine that will handle inputs
like "MMDDYY HHMM" [preferred input]

I have not been able to figure out why Chip's Datevalue Sub uses
".Formula" and the TimeValue Sub uses ".Value" when extracting the user
input.

Suggestions?

Texas Handly