Module on Shared Mailbox

  • Thread starter Thread starter DrewP
  • Start date Start date
D

DrewP

Hello All
i have written a moudle in VBA that redirects incoming emails into
folders. The problem is that the shared account has no user asigned and
the group of people who use it have their own accounts. The problem is
that the macro only seems to run when someone has signed into Outlook
as the shared user does anyone know how i can run the macro with no one
signed in.

Thanks

Drew
 
That's not possible. Outlook VBA code is dependent on Outlook running.

Maybe you should consider an Exchange event sink instead? http://msdn.microsoft.com/exchange/

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks Sue

i have another query related to forms, hopefully it is quite simple as
i don't want to set up another topic. i have some labels on a form that
when clicked i change the font such that the label becomes crossed out
using the strikethrough font. When the form is closed the font is not
saved and thus the strike through disapears, i tried to assign a field
to the label but this stop all the functionality of the label_click
event, please help

thanks

Drew
 
Starting a new topic for each unrelated question allows other people to more easily search the forums and find the answers to their own questions.

Run-time changes to the UI are not saved with the item. This makes sense if you think about it: The saved item stores only the data in Outlook fields. Therefore, you must save to some Outlook field enough "state" information about the UI so that you can recreate it with code in the form's Item_Open event handler.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top