Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default VBA Program to Email-able Toolbar

The other posters talked about creating a toolbar in code, very
powerful, but maybe too much.

Simple solution:

Save your XLS as addin (XLA)
Create a new toolbar.
Set your Addin property for your XLA to false(VBE select XLA workbook
and see proporties window).
Add Macro to toolbar(should now be visible).
Select XLA workbook in Excel
Attach your Toolbar to XLA
Sett Isaddin = True

In XLA Workbook close event

Commandbars("Mycommandbar").Delete

This should work without coding anything extra.

DM Unseen

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
How do I change the default email program in Excel 2007? wretchedcrust Setting up and Configuration of Excel 2 September 4th 13 12:21 AM
Macro orVB Program to email a worksheet Dave R Excel Discussion (Misc queries) 2 December 10th 08 07:53 PM
Program a button to copy a pivot table and then email Josh Johansen Excel Discussion (Misc queries) 0 June 18th 07 03:38 PM
display correct toolbar icon on starting excel application program ilyaskazi[_24_] Excel Programming 10 June 15th 05 03:06 PM
Shut off email address from linking to email program? Java Jake Excel Worksheet Functions 6 December 31st 04 04:05 PM


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