how/what dialog boxes can I display from VBA code

Status
Not open for further replies.
B

bWFzYW5pIHBhcmVzaA

Hi,

I am using messagebox in my VBA macro. The MessageBox seems to not working

as it doesn't get focused me until I activate my Outlook window.

I also want to keep adding messages like "XXX", "YYYY" in same dialog box.

Basically I am looking for similar dialog og "New Alert Item" that outlook

support.

Could you please suggest how/what dialog box that I can display from VBA code?

Please let me know if you have any questions.

Thanks,

Paresh
 
MsgBox is modal, you can't add to it after it's displayed, and the code

won't proceed until the user dismisses the message box.

You can use a VBA UserForm, displayed non-modally to show text and add to it

when you want. But that won't have the transparency or timed removal you

have with the new message toast window that Outlook shows.

There are 3rd party controls you can purchase that you can set transparency

on and you can call and dismiss them based on a timer control, but that's

not really appropriate for VBA code.

I'd just probably stick with a UserForm since this is VBA code. Anything

else would be very complex to implement.

"masani paresh" <masanip@deshaw.com> wrote in message

news:DE03B2D0-B6FE-404A-81E7-35C6E4DB975B@microsoft.com...
> Hi,

> I am using messagebox in my VBA macro. The MessageBox seems to not working
> as it doesn't get focused me until I activate my Outlook window.

> I also want to keep adding messages like "XXX", "YYYY" in same dialog
> box.
> Basically I am looking for similar dialog og "New Alert Item" that outlook
> support.

> Could you please suggest how/what dialog box that I can display from VBA
> code?

> Please let me know if you have any questions.

> > Thanks,
> Paresh
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
U Disable "Always ask before opening" Dialog Using Outlook 3
D.Moore PickFolder dialog "extension" Outlook VBA and Custom Forms 0
Commodore Folders always closed in move/copy items dialog box Using Outlook 3
P IMAP Folders Dialog Box Using Outlook 1
P Suppress dialog box on email check error? Using Outlook 5
S Reminder Dialog Open Button Using Outlook 2
Laurent Duchastel New email setup dialog doesn't allow alias Using Outlook 2
M Dialog called up multiple times when saving emails from macro Outlook VBA and Custom Forms 2
Diane Poremsky Enter Network Password Dialog Keeps Popping Up Using Outlook 0
Diane Poremsky Rules & Alerts Dialog Won't Open Using Outlook 1
moron save as & file location dialog box popup Outlook VBA and Custom Forms 2
N Outlook dialog about retention policy Using Outlook 3
P VBA for Dialog Box when sending Email Using Outlook 8
R Need code to gather value of custom field on addressentry.details dialog box Using Outlook 3
D Contacts as default in Select Names dialog Using Outlook 1
R how do I eliminate allow access dialog box using VBAproject in Out Outlook VBA and Custom Forms 1
J Select Names Dialog Box Outlook VBA and Custom Forms 16
P Open Advanced Search Dialog Outlook VBA and Custom Forms 1
A outlook AdvanceFind dialog Outlook VBA and Custom Forms 5
S how to add my custom items to "Change E-mail Account" dialog Outlook VBA and Custom Forms 1
J Save As dialog box on screen Outlook VBA and Custom Forms 1
H How turn off outlook security warning dialog box from outlook Outlook VBA and Custom Forms 1
R (Outlook2003)Monitor change for "to" "cc" "bcc" on message compose dialog? Outlook VBA and Custom Forms 6
P How to Open File Selector dialog in VBA Outlook VBA and Custom Forms 4
B Browse Dialog Box Outlook VBA and Custom Forms 1
M Outlook2007 and VSTO, handle the Click on the Save Button in the IPM.Note dialog HOWTO? Outlook VBA and Custom Forms 4
J common dialog Outlook VBA and Custom Forms 1
C BCM Text Boxes & tabs are too short when downloading to Office 365 BCM (Business Contact Manager) 0
T Duplicate emails in different "sent" boxes. Using Outlook 2
F Outlook 2010 - outlook userform and combo boxes Using Outlook 9
P Outlook 2013 rules -- not working reliably -- moving messages to wrong boxes Using Outlook 0
M Need help with combo boxes in messages! Using Outlook 10
G Published Email Form Doesn't Display Text Boxes to the Recipient Using Outlook 0
T Outlook 2007 forms: Check boxes and free text boxes not retaining data Using Outlook 1
V What happens when "Resource" recipients are put in To/cc boxes? Outlook VBA and Custom Forms 3
T How to find or display the sub-folder name for an Archive Search Using Outlook 10
Witzker Outlook 2019 Display the output of a seach in a new Window Outlook VBA and Custom Forms 6
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
K Outlook 365 After migrating to Outlook 365, some contacts display in emails with prefixes Using Outlook 0
K Daily Task List Minimized Cannot Display Using Outlook 5
J images on note field display fraction of size Using Outlook 5
J Outlook 2016 Can't display some embedded HTML images in Outlook 2016 Using Outlook 2
O After filtering, how to display all events on that day? Using Outlook 4
M All fonts in Outlook emails display with exaggerated character spacing Using Outlook 4
G Schedule recurring email and attachments display Outlook VBA and Custom Forms 3
O Tasks - how to display "snoozed" tasks and snooze-times? Using Outlook 7
P Task display now leaves little room for notes Using Outlook 10
R Capture Sender's Display name and Address Outlook VBA and Custom Forms 3
M Outlook 2010 How could I globally redesign an outlook template form/region/inspector template used to display mail lists or an individual mails? Outlook VBA and Custom Forms 0
Travis Lloyd Messages Won't Display In Outlook 2019 Home & Business Using Outlook 0

Similar threads

Back
Top