dr_patso
dr_patso

Reputation: 21

popup with select box outlook vba

How would I make a popup with a couple select boxes (drop downs) with outlook vba.. I need to use that value selected in the select boxes to populate a select box on a website (already populating some text fields with this script)

My script works off the currently selected mailitem and launches IE and prepopulates 2 text fields and a textarea with the sender name, subject, and e-mail body... Now I want it to populate a couple select boxes and submit the form so you just don't see IE anymore.

Upvotes: 0

Views: 2081

Answers (1)

Daniel
Daniel

Reputation: 13122

You'll have to make a userform.

In the VBE, insert a UserForm. Add the desired controls and any code you want.

Just launch the userform from you already existing code. Like this [UserformName].Show where UserformName will be substituted with the actual name... usually UserForm1.

Upvotes: 2

Related Questions