email doesn't automatically close when Accept/Reject button clicke

S

Suzanne S

HI guys,

I have designed a form for stakeholders to approve or reject my processes
which works well, apart from when people click one of the buttons the email
does not automatically close.

I'd really like it to offer the 3 options of Send response now; edit before
sending and Don't send as it does when you accept or decline a meeting
request.

Does anyone know firstly if I can get the form to close after the button is
pressed, and secondly, if the form does close afterwards how I can get the 3
options to pop up?

Thanks in advance of your help!
 
S

Sue Mosher [MVP-Outlook]

I'd really like it to offer the 3 options of Send response now; edit before
sending and Don't send as it does when you accept or decline a meeting
request.

That's the default for custom actions. Check the settings for your actions on the (Actions) tab in design mode.
Does anyone know firstly if I can get the form to close after the button is
pressed, and secondly, if the form does close afterwards how I can get the 3
options to pop up?

I'm not sure you can do both. If you want the message to close, you can put code in the CustomAction event hander:

Function Item_CustomAction(ByVal Action, ByVal NewItem)
Const olDiscard = 1
Set insp = Item.GetInspector
insp.Close olDiscard
End Function

but if you do that, I think you may also need to use NewItem.DIsplay or NewItem.Send to make the action's new item work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top