View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RichC[_2_] RichC[_2_] is offline
external usenet poster
 
Posts: 1
Default Hide Excel row in VBA

Help! I'm using Excel 97 and I am trying to hide a
spreadsheet row using VBA. This code is not working:

activesheet.Rows("28").Hidden = True

The message is 'unable to set the Hidden property of the
Range class.' The sheet is not protected.

Any suggestions?

Rich