ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   change settings in a single workbook that doesn't effect another w (https://www.excelbanter.com/setting-up-configuration-excel/121050-change-settings-single-workbook-doesnt-effect-another-w.html)

Curious

change settings in a single workbook that doesn't effect another w
 
i would like to make changes to an excel workbook such as in the options
(remove the appearance of the formula bar for example) but don't want the
changes to occur in other excel workbooks. can this be done?

Gord Dibben

change settings in a single workbook that doesn't effect another w
 
That is a global setting and will affect all workbooks.

You could use Workbook event code to disable and enable.

Private Sub Workbook_Open()
Application.DisplayFormulaBar = False
End Sub

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFormulaBar = True
End Sub

If the workbook is to remain open whilst other workbooks are open use the
following.

Private Sub Workbook_Activate()
Application.DisplayFormulaBar = False
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFormulaBar = True
End Sub

Right-click on the Excel logo left of "File" on the menu and select "View Code"

Copy/paste into that module.


Gord Dibben MS Excel MVP


On Thu, 30 Nov 2006 21:58:01 -0800, curious
wrote:

i would like to make changes to an excel workbook such as in the options
(remove the appearance of the formula bar for example) but don't want the
changes to occur in other excel workbooks. can this be done?



Curious

change settings in a single workbook that doesn't effect another w
 
Thank you for such a quick response

"curious" wrote:

i would like to make changes to an excel workbook such as in the options
(remove the appearance of the formula bar for example) but don't want the
changes to occur in other excel workbooks. can this be done?



All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com