Hi All,
To format text in cell with macro.
Macro has input box and ask user to input time without colons...
Range("D7").Select
ActiveCell.FormulaR1C1 = InputBox("Enter Start Time Without Colons HHMMSS ie 151725", "Time")
In cell E7 I have the following formula to add colons so excel recognizes as time.
TEXT(D7,"00\:00\:00")
What I would like is to eliminate cell E7 and have the macro format to time with colons in D7.
To format text in cell with macro.
Macro has input box and ask user to input time without colons...
Range("D7").Select
ActiveCell.FormulaR1C1 = InputBox("Enter Start Time Without Colons HHMMSS ie 151725", "Time")
In cell E7 I have the following formula to add colons so excel recognizes as time.
TEXT(D7,"00\:00\:00")
What I would like is to eliminate cell E7 and have the macro format to time with colons in D7.