Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Hiding Gridlines on all sheets in Excel using Applescript

Is there a way to hide the gridlines on all the sheets in Excel using Applescript, rather than going sheet by sheet? For example, the following only applies to the current sheet selected -


set display gridlines of window 1 to false


Thank you!


MacBook Pro, Mac OS X (10.4.8)

Posted on May 19, 2011 5:44 AM

Reply
Question marked as Best reply

Posted on May 19, 2011 7:46 AM

Hi,


Like this

-------------------

tellapplication"Microsoft Excel"


setSheetNametonameofactive sheet


selectworksheets


setdisplay gridlinesofactive windowtofalse


selectsheetSheetName

endtell


-------------------

5 replies

Hiding Gridlines on all sheets in Excel using Applescript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.