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

Module on Shared Mailbox



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 23rd 06, 04:46 PM posted to microsoft.public.outlook.program_vba
DrewP
external usenet poster
 
Posts: 3
Default Module on Shared Mailbox

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

Ads
  #2  
Old October 23rd 06, 05:21 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Module on Shared Mailbox

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"DrewP" wrote in message ups.com...
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

  #3  
Old October 26th 06, 04:59 PM posted to microsoft.public.outlook.program_vba
DrewP
external usenet poster
 
Posts: 3
Default Module on Shared Mailbox

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

  #4  
Old October 26th 06, 05:21 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Module on Shared Mailbox

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"DrewP" wrote in message ups.com...
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

 




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
Duplicate Calendars - Shared Functional Mailbox Bigaltheshmal Outlook - Calandaring 4 October 19th 06 05:00 PM
Code not working to a shared mailbox Wanda Outlook - Using Forms 1 June 23rd 06 07:07 PM
How do i select Contacts from a shared mailbox in a new email? contact me Outlook - Using Contacts 3 May 22nd 06 09:50 PM
Shared mailbox - autoarchive settings DMAC Outlook - Installation 2 February 28th 06 07:25 AM
Moved mailbox/ cannot access shared calendars traviss Outlook - Calandaring 0 January 30th 06 07:31 PM


All times are GMT +1. The time now is 02:08 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.