Workspace and Gridlines

FP&A Queen

New Member
Joined
Aug 1, 2003
Messages
10
I have a workspace which opens 50 workbooks. Each was saved without gridlines.

When I open the workspace the gridlines appear. I can toggle off on each one with button, but it is annoying me.

Also, the view % goes back to 100%.

Any suggestions would be appreciated
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

TryingToLearn

Well-known Member
Joined
Sep 10, 2003
Messages
730
I beleive the questions are:

1. How to turn off gridlines when the workspace is opened

may be out of my league here, but would try:

Code:
Private Sub Workbook_Activate()
    Dim c As Window
    Dim ws As Worksheet
    For Each c In ThisWorkbook.Windows
        For Each ws In ThisWorkbook.Worksheets
            c.DisplayGridlines = False
        Next ws
    Next c
End Sub



2. how to keep the view as it was when the workspace was saved

No ideas here on this one!
 
Upvote 0

Forum statistics

Threads
1,187,178
Messages
5,962,051
Members
438,578
Latest member
MrJimC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top