Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Creating/Destroying Toolbars Programmatically

Hello Experts,
I have Excel 97 Pro on Win98SE.

In MS Word, we can have a certain custom toolbar as a part of ONLY ONE file.
In
other words, we can have a toolbar private to a single file. I have noticed
that it can't be done in Excel 97 by simple means, instead, in Excel a
custom toolbar is *always* global. Is it possible to create a custom toolbar
private to a single file programmatically in Excel?

Thank you,
--
Syed Zeeshan Haider.
http://szh.20m.com/


-----------------------------------
Allah says to Mankind:
"Then which of the favours of your Lord will ye deny?"


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Creating/Destroying Toolbars Programmatically


You could create it at Workbook_Open and Destroy it at Workbook_BeforeClose.

I've got CommandBar examples on my site:
http://www.vangelder.co.nz/excel/index.html


Rob


"Syed Zeeshan Haider" wrote in
message ...
Hello Experts,
I have Excel 97 Pro on Win98SE.

In MS Word, we can have a certain custom toolbar as a part of ONLY ONE

file.
In
other words, we can have a toolbar private to a single file. I have

noticed
that it can't be done in Excel 97 by simple means, instead, in Excel a
custom toolbar is *always* global. Is it possible to create a custom

toolbar
private to a single file programmatically in Excel?

Thank you,
--
Syed Zeeshan Haider.
http://szh.20m.com/


-----------------------------------
Allah says to Mankind:
"Then which of the favours of your Lord will ye deny?"




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Creating/Destroying Toolbars Programmatically

I do this all the time. My usual method is to create the toolbar using
the Workbook_Open() event, destroy it using the Workbook_BeforeClose()
event, and enable/disable it using the Workbook_Activate() and
Workbook_Deactivate() events.


In article ,
"Syed Zeeshan Haider" wrote:

Hello Experts,
I have Excel 97 Pro on Win98SE.

In MS Word, we can have a certain custom toolbar as a part of ONLY ONE file.
In
other words, we can have a toolbar private to a single file. I have noticed
that it can't be done in Excel 97 by simple means, instead, in Excel a
custom toolbar is *always* global. Is it possible to create a custom toolbar
private to a single file programmatically in Excel?

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
help creating new hyperlinks programmatically J Links and Linking in Excel 1 January 14th 08 08:15 AM
Creating toolbars thru VBA mike_mike Excel Discussion (Misc queries) 2 August 10th 05 09:02 AM
Creating Sub CommandButton1_Clk programmatically Jag Man Excel Programming 7 December 14th 03 08:49 PM
Does destroying the ADO Connection close the database? Bob Phillips[_5_] Excel Programming 0 July 18th 03 08:04 PM
Does destroying the ADO Connection close the database? Richard Choate Excel Programming 0 July 18th 03 07:45 PM


All times are GMT +1. The time now is 06:34 AM.

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"