Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default opening toolbar with file

I have created a code that creates a toolbar within a file. However, it only
opens when I run a particular macro.
I would like this toolbar routine to run automatically when the file is
opened.

My hope is that if I can get that to happen, I can email the file for people
to use and they will have the necessary tool bars available.

First, is my hope (assumption) correct?
Second, how do I get a macro to run when a file is opened?

TIA
Papa
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default opening toolbar with file

Hi Papa

Run the code in this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

See this site for more information about events
http://www.cpearson.com/excel/events.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Papa Jonah" wrote in message ...
I have created a code that creates a toolbar within a file. However, it only
opens when I run a particular macro.
I would like this toolbar routine to run automatically when the file is
opened.

My hope is that if I can get that to happen, I can email the file for people
to use and they will have the necessary tool bars available.

First, is my hope (assumption) correct?
Second, how do I get a macro to run when a file is opened?

TIA
Papa



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
Toolbar keeps opening up other workbook tempaltes Brendan Excel Discussion (Misc queries) 0 December 25th 08 05:04 AM
Keep toolbar from opening in worksheet KJ Excel Discussion (Misc queries) 2 November 9th 06 06:52 PM
How to hide the outlook toolbar when opening an excel file Chris Excel Discussion (Misc queries) 0 December 27th 05 06:05 PM
how to stop Reviewing toolbar from opening when I open a file WFLD Excel Discussion (Misc queries) 2 March 24th 05 12:43 AM
Toolbar on opening a workbook Tom Ogilvy Excel Programming 0 August 26th 04 03:00 PM


All times are GMT +1. The time now is 06:27 PM.

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"