Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following great bit of code converts time via a workbook event
from say 13.40 to 13:40. Can any of you help me out with a macro incorporating this code that converts data over a specific range repeated in numerous sheets? I have tried but without success. Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Not Intersect(Range("A1"), Target) Is Nothing Then Application.EnableEvents = False With Target .Value = TimeSerial(Int(.Value), _ (.Value - Int(.Value)) * 100, 0) .NumberFormat = "[h]:mm" End With Application.EnableEvents = True End If End Sub Thanks in advance. Angelo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro for converting excel to adobe pdf | Excel Discussion (Misc queries) | |||
Converting Macro to Perl - charting help | Charts and Charting in Excel | |||
converting Lotus 123 macro to Excell macro | Excel Discussion (Misc queries) | |||
macro for converting text file to excel | Excel Programming | |||
macro for converting text file to excel | Excel Programming |