Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Greetings

I need to make sure that some of the options under ToolsOptionsView
tab are unchecked.

Is there anyway to do this when the workbook is opened?

Any help would be appreciated.

TIA

-Minitman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Minitman,
Sure, record a macro whilst you change the options.
You'll see some are members of Application whilst others are window or sheet
specific.

It's a good idea to save the initial settings so when you WS closes it can
reset them to the user-desired setup.
It is very annoying otherwise.

NickHK

"Minitman" wrote in message
...
Greetings

I need to make sure that some of the options under ToolsOptionsView
tab are unchecked.

Is there anyway to do this when the workbook is opened?

Any help would be appreciated.

TIA

-Minitman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Hey NickHK,

Thanks for the reply. I tried that and found that what I wanted to
change was grayed out when I had the recorder on.

The part about recording the current setting is a good idea. How do I
do that?

TIA

-Minitman



On Wed, 28 Sep 2005 15:08:10 +0800, "NickHK"
wrote:

Minitman,
Sure, record a macro whilst you change the options.
You'll see some are members of Application whilst others are window or sheet
specific.

It's a good idea to save the initial settings so when you WS closes it can
reset them to the user-desired setup.
It is very annoying otherwise.

NickHK

"Minitman" wrote in message
.. .
Greetings

I need to make sure that some of the options under ToolsOptionsView
tab are unchecked.

Is there anyway to do this when the workbook is opened?

Any help would be appreciated.

TIA

-Minitman



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Hey NickHK,

I stand corrected. The recorder did work (I accidentally hid the
thing and it kept on recording and then crashed Excel. I cleared out
the module and tried again. This time it worked)

I am still wondering as to how and where to record the original
settings.

Any help on this would be most appreciated.

TIA

-Minitman

On Wed, 28 Sep 2005 05:51:38 -0500, Minitman
wrote:

Hey NickHK,

Thanks for the reply. I tried that and found that what I wanted to
change was grayed out when I had the recorder on.

The part about recording the current setting is a good idea. How do I
do that?

TIA

-Minitman



On Wed, 28 Sep 2005 15:08:10 +0800, "NickHK"
wrote:

Minitman,
Sure, record a macro whilst you change the options.
You'll see some are members of Application whilst others are window or sheet
specific.

It's a good idea to save the initial settings so when you WS closes it can
reset them to the user-desired setup.
It is very annoying otherwise.

NickHK

"Minitman" wrote in message
. ..
Greetings

I need to make sure that some of the options under ToolsOptionsView
tab are unchecked.

Is there anyway to do this when the workbook is opened?

Any help would be appreciated.

TIA

-Minitman



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Minitman,
On a WS (maybe hidden), in Workbook_Open, something like:

Dim rng As Range
Set rng = ThisWorkbook.Worksheets("Settings").Range("Home")

With ActiveWindow
rng.Offset(1, 0).Value = .DisplayFormulas
rng.Offset(2, 0).Value = .DisplayGridlines
'.............
End With
rng.Offset(3, 0).Value = ActiveSheet.DisplayAutomaticPageBreaks
rng.Offset(4, 0).Value = ActiveWorkbook.DisplayDrawingObjects
With Application
rng.Offset(5, 0).Value = .DisplayFormulaBar
rng.Offset(6, 0).Value = .DisplayStatusBar
'.......................
End With
End Sub

And then on closing, do the opposite:
With ActiveWindow
.DisplayFormulas=rng.Offset(1, 0).Value
.DisplayGridlines=rng.Offset(2, 0).Value
'.............

You probably will not need to change all the settings, but you get the idea.

NickHK

"Minitman" wrote in message
...
Hey NickHK,

I stand corrected. The recorder did work (I accidentally hid the
thing and it kept on recording and then crashed Excel. I cleared out
the module and tried again. This time it worked)

I am still wondering as to how and where to record the original
settings.

Any help on this would be most appreciated.

TIA

-Minitman

On Wed, 28 Sep 2005 05:51:38 -0500, Minitman
wrote:

Hey NickHK,

Thanks for the reply. I tried that and found that what I wanted to
change was grayed out when I had the recorder on.

The part about recording the current setting is a good idea. How do I
do that?

TIA

-Minitman



On Wed, 28 Sep 2005 15:08:10 +0800, "NickHK"
wrote:

Minitman,
Sure, record a macro whilst you change the options.
You'll see some are members of Application whilst others are window or

sheet
specific.

It's a good idea to save the initial settings so when you WS closes it

can
reset them to the user-desired setup.
It is very annoying otherwise.

NickHK

"Minitman" wrote in message
. ..
Greetings

I need to make sure that some of the options under ToolsOptionsView
tab are unchecked.

Is there anyway to do this when the workbook is opened?

Any help would be appreciated.

TIA

-Minitman






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default Change Options under ToolsOptioonsView Tab When User Opens Workbook

Hey NickHK,

Thanks, that will work nicely. I did discover that what I am trying
to do is NOT a good idea (Thankfully, I have backups).

If you hadn't of shown me how to do it, I wouldn't have seen just how
badly one could mess things up! :^/

=Minitman


On Thu, 29 Sep 2005 09:53:21 +0800, "NickHK"
wrote:

Dim rng As Range
Set rng = ThisWorkbook.Worksheets("Settings").Range("Home")

With ActiveWindow
rng.Offset(1, 0).Value = .DisplayFormulas
rng.Offset(2, 0).Value = .DisplayGridlines
'.............
End With
rng.Offset(3, 0).Value = ActiveSheet.DisplayAutomaticPageBreaks
rng.Offset(4, 0).Value = ActiveWorkbook.DisplayDrawingObjects
With Application
rng.Offset(5, 0).Value = .DisplayFormulaBar
rng.Offset(6, 0).Value = .DisplayStatusBar
'.......................
End With


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tools options view window options Joe[_14_] Excel Discussion (Misc queries) 1 November 11th 09 04:08 PM
Displaying Cell Formulas (without using Tools/Options/View-Formula DSMessenger Excel Worksheet Functions 6 May 4th 09 02:01 AM
Cannot change default folder in tools options goodfella Excel Discussion (Misc queries) 2 May 31st 07 07:15 PM
toolsoptions cannot change file locations ab Excel Discussion (Misc queries) 6 December 10th 05 03:02 PM
How to diasble the 'Tools - Options - View - Comments' options? Alan Excel Programming 3 May 19th 05 10:58 PM


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"