put macro into MS Outlook 2000

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 ?
 
You need to run Outlook VBA and use its FIle | Import command.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
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.
 
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.
 
Thanks all. Answers worked for me !
Alt F11 to open VB editor. F4 then import from file.

Cheers.
 
Back
Top