A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how/what dialog boxes can I display from VBA code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 20th 09, 06:57 AM posted to microsoft.public.outlook.program_vba
masani paresh[_3_]
external usenet poster
 
Posts: 18
Default how/what dialog boxes can I display from VBA code

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
Ads
  #2  
Old March 20th 09, 04:27 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default how/what dialog boxes can I display from VBA code

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"masani paresh" wrote in message
news
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
? button in dialog boxes BBran Outlook - General Queries 1 June 24th 07 02:42 AM
All macro dialog boxes are blank Midwest Muskie Outlook - Installation 3 November 14th 06 05:53 PM
Make daily repeating all day event display as individual boxes. dwm Outlook - Calandaring 2 September 22nd 06 08:51 PM
Boxes, i.e change e-mail don't display fully/can't access option Rich B Outlook - Installation 1 September 2nd 06 05:56 PM
Outlook add-in, display dialog box Phoenix Add-ins for Outlook 2 August 16th 06 09:42 AM


All times are GMT +1. The time now is 08:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.