How Can I Quickly Beautify My Spreadsheet?

Anything more annoying than an over-zoomed Excel tab with visible gridlines?

Hating the thought of having to adjust those manually for every single tab in your workbook(s)?

No worries!

The solution is as simple as 10 lines of super versatile VBA code đŸ˜‰

Sub RemoveGridlines()
Dim Wks As Worksheet
'--------------------------------
'written by Angelina Teneva, 2014
'--------------------------------
For Each Wks In ActiveWorkbook.Worksheets
If Wks.Visible = True Then Wks.Activate
With ActiveWindow
.DisplayGridlines = False
.Zoom = 80
End With
Next Wks
End Sub

Happy VBA coding!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.