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

Copy all receiving/sending mail from Outlook 2003 while running



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 22nd 09, 10:53 PM posted to microsoft.public.outlook.program_vba
Crossh
external usenet poster
 
Posts: 14
Default Copy all receiving/sending mail from Outlook 2003 while running

I need to figure out a way that other users can have access to my Outlook
Archive.pst file while my Outlook is running. Is there a way, using VBA, to
copy (export) all mail sending and receiving while my Outlook is running? I
want to create a .pst that's basically an ongoing archive of everything, that
other users can view while my Outlook is open. My Archive.pst is locked when
my Outlook is open. Or can I somehow automate a daily copy of my archive.pst
when opening or closing? Thanks for any help.
  #2  
Old January 23rd 09, 03:09 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Copy all receiving/sending mail from Outlook 2003 while running

Any PST that you open to copy the messages to will also be locked, even if
closed, until you exit Outlook. You can't do what you want to do.

--
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


"Crossh" wrote in message
...
I need to figure out a way that other users can have access to my Outlook
Archive.pst file while my Outlook is running. Is there a way, using VBA,
to
copy (export) all mail sending and receiving while my Outlook is running?
I
want to create a .pst that's basically an ongoing archive of everything,
that
other users can view while my Outlook is open. My Archive.pst is locked
when
my Outlook is open. Or can I somehow automate a daily copy of my
archive.pst
when opening or closing? Thanks for any help.


  #3  
Old January 23rd 09, 04:24 PM posted to microsoft.public.outlook.program_vba
Crossh
external usenet poster
 
Posts: 14
Default Copy all receiving/sending mail from Outlook 2003 while runnin

Is there a way to create a seperate new .pst during the Application_Startup
or Aplication_Quit Events? Then the other users can import this new .pst
into their Outlook.

"Ken Slovak - [MVP - Outlook]" wrote:

Any PST that you open to copy the messages to will also be locked, even if
closed, until you exit Outlook. You can't do what you want to do.

--
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


  #4  
Old January 23rd 09, 04:41 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Copy all receiving/sending mail from Outlook 2003 while runnin

Startup can be used to create a new PST using AddStore. That locks the PST
until after Outlook is closed (usually for a couple of minutes after Outlook
is closed).

Quit fires when Outlook objects are out of scope and can't be used for
anything Outlook related like that.

Anything you do with a PST file when Outlook is running locks that PST file.
You cannot do what you want to do.

--
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


"Crossh" wrote in message
...
Is there a way to create a seperate new .pst during the
Application_Startup
or Aplication_Quit Events? Then the other users can import this new .pst
into their Outlook.


 




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
Problem Sending and Receiving Mail wheezer63 Outlook Express 6 January 20th 09 10:22 AM
Setting up Outlook 2002 for sending/receiving e-mail Pat E. Outlook - General Queries 5 May 2nd 08 11:48 PM
Outlook 2003 sending but not receiving messages hldove1 Outlook - General Queries 3 January 27th 07 02:46 PM
Outlook 2003 not sending or receiving Runeagle Outlook - Installation 1 December 27th 06 02:39 AM
problem with sending and receiving mail Catherine Camilleri Outlook Express 2 September 18th 06 10:25 PM


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