Add Insert Degree
Symbol in Excel
Sub degreeSymbol( )
Dim rng As Range
For Each rng In
Selection
rng.Select
If ActiveCell
<> "" Then
If
IsNumeric(ActiveCell.Value) Then
ActiveCell.Value =
ActiveCell.Value & "°"
End If
End If
Next
End Sub
Insert Time Range
Sub TimeStamp()
Dim i As Integer
For i = 1 To 24
ActiveCell.FormulaR1C1
= i & ":00"
ActiveCell.NumberFormat
= "[$-409]h:mm AM/PM;@"
ActiveCell.Offset(RowOffset:=1,
ColumnOffset:=0).Select
Next i
End Sub
No comments:
Post a Comment
THANKS FOR YOUR SUPPORT