Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Proper way to export custom Toolbars ?

Hi;
I have a custom toolbar for my club project. When I send the project to
another user using Excel 2000 the toolbar gets lost. I am using OfficeXP.
We both have WindowXP.

I have attached my toolbar with each new update to my project. But at his
end, an older version of the toolbar is loaded instead of latest unless he
goes to C:\Documents and Settings\username\Application Data\Microsoft\Excel
and removes the *.xlb file.

This project and its toolbars is a work-in-progress. I expect several
updated versions of the toolbar to be produced. I have read John
Walkenbach's Manual Programming with VBA (Excel 2000). He suggests
re-creating the toolbar with each use as a macro. This seems like a lot of
unnecessary work -- I will do it, if that is the only real answer. I have
also googled etc. for an answer.

My question is: What would be the proper (professional) way to create
toolbars for a project that might be used on a number of (not necessarily
every) modern Microsoft OSs? Or, is there a trusted site that gives advice
and/or work arounds that I should read?

I am not a professional programer, but I would like to do things right.

Regards Bill
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Proper way to export custom Toolbars ?

when you send an attached toolbar, if a toolbar with that name already
exists, then the new toolbar is not used. Have your workbook_Open routine
delete the existing toolbar and your new attached toolbar should be used I
would think. If not, have the user delete it.


Creating a toolbar with code is pretty straightforward.

http://msdn.microsoft.com/archive/de...web/008.asphas some information--regards,Tom Ogilvy"Bill Case" wrote in ... Hi; I have a custom toolbar for my club project. When I send the project to another user using Excel 2000 the toolbar gets lost. I am using OfficeXP. We both have WindowXP. I have attached my toolbar with each new update to my project. But at his end, an older version of the toolbar is loaded instead of latest unless he goes to C:\Documents and Settings\username\ApplicationData\Microsoft\Excel and removes the *.xlb file. This project and its toolbars is a work-in-progress. I expect several updated versions of the toolbar to be produced. I have read John Walkenbach's Manual Programming with VBA (Excel 2000). He suggests re-creating the toolbar with each use as a macro. This seems like a lotof unnecessary work -- I will do it, if that is the only real answer. I have also googled etc. for an answer. My question is: What would be the proper (professional) way to create toolbars for a project that might be used on a number of (not necessarily every) modern Microsoft OSs? Or, is there a trusted site that gives advice and/or work arounds that I should read? I am not a professional programer, but I would like to do things right. Regards Bill

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
save/export custom button image for toolbars redruthann Excel Programming 1 April 15th 06 06:48 PM
Custom Toolbars Again!!! Sharon Excel Programming 3 March 24th 06 08:56 AM
sheet export removes custom toolbars. jinx_uk_98[_7_] Excel Programming 3 February 8th 06 07:36 PM
Can you Import & Export toolbars...? Andrew Excel Programming 2 June 12th 05 08:39 PM
Custom ToolBars Julian[_3_] Excel Programming 1 January 8th 04 06:22 PM


All times are GMT +1. The time now is 02:18 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"