Hi there,
I have written an if macro that toggles a hide/unhide range when the ranges header is clicked.
However i would like to add a down arrow for when the range is hidden and an up arrow for when it is unhidden.
my code so far is;
Sub numbers()
Range("8:21").Select
If Selection.EntireRow.Hidden = True Then
Selection.EntireRow.Hidden = False
Else
Selection.EntireRow.Hidden = True
End If
If Selection.EntireRow.Hidden = True Then
Range("G7").Value = "Handler q"
Else
Range("G7").Value = "Handler p"
End If
End Sub
essentially i was looking for away to insert the word "Handler" in calibri and the "q" and "p" in windings3 (which will be the up/down arrows).
thanks,
john.
I have written an if macro that toggles a hide/unhide range when the ranges header is clicked.
However i would like to add a down arrow for when the range is hidden and an up arrow for when it is unhidden.
my code so far is;
Sub numbers()
Range("8:21").Select
If Selection.EntireRow.Hidden = True Then
Selection.EntireRow.Hidden = False
Else
Selection.EntireRow.Hidden = True
End If
If Selection.EntireRow.Hidden = True Then
Range("G7").Value = "Handler q"
Else
Range("G7").Value = "Handler p"
End If
End Sub
essentially i was looking for away to insert the word "Handler" in calibri and the "q" and "p" in windings3 (which will be the up/down arrows).
thanks,
john.