View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Setting "DisplayGridlines" Programmatically

Just a hint, turn on the macro recorder and do it manually. Then your
question would be answered.

--
Regards,
Tom Ogilvy


"Chaplain Doug" wrote in message
...
I am trying to set the "DisplayGridlines" property of a worksheet
programmatically. I am getting an error when using:

Worksheets(<name of a valid sheet).DisplayGridlines = False

The error is:

Runtime error '438'
Object doen't support this property or method

How may I accomplish this task without error? Thanks and God bless.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org