Hi guys,
I have a wkb and if I make some changes in it and then try to work at office, the hours show "h:mm". I have recorded a macro in order to set "hh:mm" for some cells.
because I have more than 50 sheets is possible ot have it ...shorter than I got it?
the sheets are named as:
"stu-2437"
"stu-567A"
"stu-700ABC"
"stu-item1" to "stu-item12"
I appreciate your help!
regards, Tim
![]()
Private Sub CommandButton7_Click() Application.ScreenUpdating = True Sheets("stu-71").Select Range("J16:L20").NumberFormat = "hh:mm" Range("P16:R20").NumberFormat = "hh:mm" Sheets("stu-812A").Select Range("J16:L20").NumberFormat = "hh:mm" Range("P16:R20").NumberFormat = "hh:mm" Sheets("stu-913").Select Range("J16:L20").NumberFormat = "hh:mm" Range("P16:R20").NumberFormat = "hh:mm" ' '
Bookmarks