?
Solved

Change default Opttions in Excel

Posted on 2011-02-22
3
Medium Priority
?
275 Views
Last Modified: 2012-05-11
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
Comment
Question by:Steve_Brady
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:shahzadbux
ID: 34953703
0
 
LVL 45

Accepted Solution

by:
patrickab earned 2000 total points
ID: 34953739
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
 
LVL 45

Expert Comment

by:patrickab
ID: 35074263
Steve_Brady - Thanks for the grade - Patrick
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question