Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel VBA
Resolved · Low Priority · Version 2003
Mike has attended:
Excel VBA Intro Intermediate course
What is VB code to hide the gridlines on a worksheet?
Hi Mike
To hide the gridlines on a sheet the code line is
ActiveWindow.DisplayGridlines = False
Replacing False with True displays hidden grid lines
The ActiveWndow object in this case refers to the active sheet.
You may need to precede it with a
Sheets(SheetName).Select
if the present sheet isn't the one losing the grid lines
Hop this helps
Carlos
Mon 9 Feb 2009: Automatically marked as resolved.
|
Excel tip:Create own ribbon tab - Excel 2010a. In Excel click on the File tab |
We'll call during UK business hours
Server loaded in 0.07 secs.