![]() |
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 have a file *.bas from a reliable colleague. How do I attach it to a
button on a toolbar? Step 2 is OK - Tools Customize Commands Categories Macro select but the list of macros in the commands pane is empty. So how do I do step 1 - add the macro to the list ? |
Ads |
#2
|
|||
|
|||
![]()
You need to run Outlook VBA and use its FIle | Import command.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "David C" wrote in message ... I have a file *.bas from a reliable colleague. How do I attach it to a button on a toolbar? Step 2 is OK - Tools Customize Commands Categories Macro select but the list of macros in the commands pane is empty. So how do I do step 1 - add the macro to the list ? |
#3
|
|||
|
|||
![]()
Make sure the subroutine in .bas file is public then you will find it
in the list of macros just drop it on the toolbar. |
#4
|
|||
|
|||
![]()
Is this file in the Outlook VBA project? If not then use Alt+F11 to open the
VBA project. Select File, Import to import it. Make sure the macro is a Public Sub that takes no input arguments. After doing that the macro will appear for you. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "David C" wrote in message ... I have a file *.bas from a reliable colleague. How do I attach it to a button on a toolbar? Step 2 is OK - Tools Customize Commands Categories Macro select but the list of macros in the commands pane is empty. So how do I do step 1 - add the macro to the list ? |
#5
|
|||
|
|||
![]()
Thanks all. Answers worked for me !
Alt F11 to open VB editor. F4 then import from file. Cheers. "Ken Slovak - [MVP - Outlook]" wrote: Is this file in the Outlook VBA project? If not then use Alt+F11 to open the VBA project. Select File, Import to import it. Make sure the macro is a Public Sub that takes no input arguments. After doing that the macro will appear for you. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "David C" wrote in message ... I have a file *.bas from a reliable colleague. How do I attach it to a button on a toolbar? Step 2 is OK - Tools Customize Commands Categories Macro select but the list of macros in the commands pane is empty. So how do I do step 1 - add the macro to the list ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook put mails from people in contactlist separate folder | Malliga Baskaran | Outlook - Using Contacts | 1 | February 22nd 06 12:55 PM |
How do I put Outlook information on IPOD? | dancemaster40 | Outlook - Calandaring | 1 | February 12th 06 07:04 PM |
Outlook calendar ablity to put moon phases | Justdialt | Outlook - Calandaring | 1 | January 29th 06 06:29 PM |
Outlook 2000 - Button to run Macro then open Database | David C | Outlook and VBA | 1 | January 25th 06 04:44 PM |
VB and outlook macro need help | jbullington | Outlook and VBA | 1 | January 10th 06 04:22 PM |