• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Change default Opttions in Excel

Hello,

In Excel (2007), is there a way to change the default settings for how new workbooks open?  

For example, in Office Button > Excel Options > Advanced > Display options for this workbook, there is a checkbox labeled "Show horizontal scroll bar."  Currently, new workbooks open with this box checked.  Is there a way to change that so that the default setting will have this box unchecked?

Thanks
0
Steve_Brady
Asked:
Steve_Brady
  • 2
1 Solution
 
shahzadbuxCommented:
0
 
patrickabCommented:
Steve_Brady,

Place this in the ThisWorkbook VBA code pane of an existing file:

Private Sub Workbook_Open()
ActiveWindow.DisplayHorizontalScrollBar = False
End Sub

Save and close the file then reopen it and the HorizontalScrollBar should not be visible.

Patrick
0
 
patrickabCommented:
Steve_Brady - Thanks for the grade - Patrick
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now