Using VBA to send Windows Popup message...

J

Joe

Good day,

Can anyone assist with using VBA to send a WIndows Popup message when a new
email arrives using VBA? I have a fax server that can route the received
faxes to an email address. My supervisor wants the receptionist to receive
a windows popup message (not an email notification, unfortunately!) when a
new fax arrives. Can anyone assist with this code that I would have to use,
as I am NOT a programmer/developer, simply a network administrator!

Thanks for any help that can be provided!

- Joe
 
M

Michael Bauer

Am Tue, 25 Oct 2005 23:28:35 -0300 schrieb Joe:

Joe, you could add an UserForm to the receptionists Outlook VBA project and
call that from within the ItemAdd event. On that form you can show whatever
you want.

Private WithEvents Items As Outlook.Items

Private Sub Application_Startup()
Set Items = Application.Session.GetDefaultFolder(olFolderInbox).Items
End Sub

Private Sub Items_ItemAdd(ByVal Item As Object)
Dim fm as UserForm1
If Item.Unread Then
Set fm=new UserForm1
UserForm1.Show 0
Endif
End Sub
 
J

Joe

Thanks Michael. The problem I have is that it wouldn't be the receptionists
email that would be receiving the inbound faxes, it would be the fax server
itself. I would like to create a rule within Outlook on the fax server
that whenever it receives a new email, to send a windows messenger popup
(not msn messenger) on the receptionist's desktop (on the same LAN). Is
this feasible? Once again I am not a programmer so you may have to "spoon
feed" me on this one :)

Thanks again!

- Joe
 

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