View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default showing / hiding gridlines through VB code

To hide gridlines use:

ActiveWindow.DisplayGridlines = False
--
Gary's Student


"archeti" wrote:

can anyone kindly tell me if there is any way by which I can change the hide
/ show gridlines property of a workbook through VB code. I guess there must
be a system variable for this.

thanks