![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I need to add a button to my outlook toolbar called "send and file".
This button needs to call a subroutine that will send the message and allow a user to choose a folder to save the message to (other than the sent items). My subroutine is working correctly. However, I am unable to link it to the toolbar because it is a private subroutine. How can I trigger a private subroutine from a toolbar button? Thanks very much for your help! |
Ads |
#2
|
|||
|
|||
![]()
Am 26 Jun 2006 13:55:50 -0700 schrieb butterfly:
You canīt link it to the button. Why donīt you declare the subroutine as public? Another way is to use a variable as Office.CommandButton, declared WithEvents. From that Click event you can call private methods in that module. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- I need to add a button to my outlook toolbar called "send and file". This button needs to call a subroutine that will send the message and allow a user to choose a folder to save the message to (other than the sent items). My subroutine is working correctly. However, I am unable to link it to the toolbar because it is a private subroutine. How can I trigger a private subroutine from a toolbar button? Thanks very much for your help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
push button on outlook toolbar inserts text to email | jamesd | Add-ins for Outlook | 0 | June 23rd 06 09:44 PM |
New Email Button on toolbar | Angel | Outlook and VBA | 1 | June 14th 06 04:30 PM |
Create button on toolbar for form | BTH | Outlook - Using Forms | 1 | May 11th 06 12:22 PM |
click a button on the toolbar (via VBA?) | Dan | Outlook and VBA | 7 | May 2nd 06 09:35 AM |
Toolbar button for show gridlines? | [email protected] | Outlook and VBA | 1 | February 14th 06 06:20 AM |