Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Uncheck \View\Toolbars\...

I'd like to have certain options when do
View
Toolbars
to be unchecked upon open the work book and
to checked upon closing the workbook.
Can I do that?
Thx.
cg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Uncheck \View\Toolbars\...

See Chip Pearson's overview of events
http://www.cpearson.com/excel/events.htm

you would probably want to use the Workbook_Open and Workbook_Beforeclose
events.

turn on the macro recorder and go to View=Toolbars, then select your
toolbars.

Turn off the macro recorder.

That should give you some sample code for making commandbars visible and
hiding them.

--
Regards,
Tom Ogilvy


"hccatmo" wrote:

I'd like to have certain options when do
View
Toolbars
to be unchecked upon open the work book and
to checked upon closing the workbook.
Can I do that?
Thx.
cg

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Uncheck \View\Toolbars\...

Thank you, Tom.
cg

"Tom Ogilvy" wrote:

See Chip Pearson's overview of events
http://www.cpearson.com/excel/events.htm

you would probably want to use the Workbook_Open and Workbook_Beforeclose
events.

turn on the macro recorder and go to View=Toolbars, then select your
toolbars.

Turn off the macro recorder.

That should give you some sample code for making commandbars visible and
hiding them.

--
Regards,
Tom Ogilvy


"hccatmo" wrote:

I'd like to have certain options when do
View
Toolbars
to be unchecked upon open the work book and
to checked upon closing the workbook.
Can I do that?
Thx.
cg

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
Uncheck a box Pietro Excel Discussion (Misc queries) 4 August 29th 07 11:48 AM
Please Help, No Toolbars in my view-toolbars! [email protected] Excel Programming 2 February 19th 05 09:15 PM
How to preserve state of View-Toolbars? Dave Excel Programming 1 December 2nd 04 06:22 PM
Detect if a command bar is enabled in View-Toolbars Dave Excel Programming 2 December 1st 04 10:25 PM
List box - how to uncheck box Anita Gray Excel Programming 1 June 23rd 04 11:52 PM


All times are GMT +1. The time now is 04:17 AM.

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

About Us

"It's about Microsoft Excel"