Hide

R

ranswert

I am trying to hide a range when a sheet is selected.

Private Sub Worksheet_Activate()

Dim drw As String
drw = ActiveSheet.Range("currentdraw").Value
Range(drw & "rng").Select

Selection.Hidden = True

ActiveWindow.Zoom = 85
End Sub

I get an error when this is run. What am I doing wrong?
Thanks
 
F

FSt1

hi
you can't hide a range. you can hide entire rows or entire columns but not
just protions of either or both. It a all or nothing deal.

regards
FSt1
 

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