Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Please post the question in the body of the message, do not post the
question in the subject line only This is not possible using formatting -- Regards, Peo Sjoblom "Gregory OUSTED" wrote in message ... |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Not possible using formatting.
One workaround would be to use this event macro (right-click the worksheet tab and choose view code): Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Count 1 Then Exit Sub If Not Intersect(.Cells, Range("B3")) Is Nothing Then If IsNumeric(.Value) Then On Error Resume Next Application.EnableEvents = False .Value = .Value / 24 Application.EnableEvents = True On Error GoTo 0 .NumberFormat = "[hh]:mm:ss" End If End If End With End Sub Change the cell address to suit. In article , Gregory OUSTED wrote: |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Peo Sjoblom" wrote...
.... This is not possible using formatting No? A1: 7 A1's number format: 00":00:00" Yes, this is almost certainly not what the OP wants, but it *IS* possible to *SHOW* 07:00:00 when 7 is entered. It'll just be 7, not 7 o'clock. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Column of Text Shown = Total Times Shown? | Excel Worksheet Functions | |||
Formatted Cell Changes Format When Text Is Entered | Setting up and Configuration of Excel | |||
Cell Format Changes When Data Is Entered - Not Conditional Formatt | Excel Worksheet Functions | |||
Formatted Cell Changes Format When Information Is Entered | Setting up and Configuration of Excel | |||
Text shown up in other cells everytime a text is entered in 1 cell | Excel Discussion (Misc queries) |