Run userform from outlook toolbar button

Hi,

I have two questions:

1. I have designed outlook user form. Now I want to put button say XXX in outlook toolbar and when I click that button it should run my form.

2. If I have two files names file1.frm and file2.frx(generated by exporting above user form) and now I want to install it on other machine.

Could any one please help me on this.

Thanks.
LVL 1
deshawAsked:
Who is Participating?
 
Chris BottomleySoftware Quality Lead EngineerCommented:
deshaw:

1. Put a button in OL toolbar
a. Create a macro with command myformname.show.
b. Right click tool bar area and select customize
c. Select commands tab
d. Sedlect Macro category
e. Select the run macro from a.
f. Drag the macro to a menu
g. Close the customize menu
h. If you want to rename button, with customize open right click the button.

2. Upload to alternate machine
a. On the alternate machine, load VBE.
b. File | import file and navigate to where the form files are stored, select them and import.

Chris
0
 
Chris BottomleySoftware Quality Lead EngineerCommented:
What version ... 2007 or earlier?

Chris
0
 
deshawAuthor Commented:
its 2003...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.