Toggle Code

T

thunderfoot

Sub ToggleHidingColA()
' TOGGLE BETWEEN HIDING AND UNHIDING ROWS
Rows ("10:32").Hidden = Not (Rows("10:32").Hidden)
End Sub

The above code allows a macro button to toggle Hide/Unhide of Rows 10
to 32 incl.

If Rows 10 to 32 are indentified with a Named Range of 'Level01', how
is the above code ammended to show the Named Range not the row
numbers???

This must be simple, but I'm missing it somewhere!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top