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

Automating Exporting to pst file



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 6th 10, 08:04 PM posted to microsoft.public.outlook.program_vba
Trouble
external usenet poster
 
Posts: 2
Default Automating Exporting to pst file

I have done a lot of VB6 programming and integrated Excel and Access into my
apps but have not done so with Outlook. I am using Outlook 2000.

Is there a way to use the Export to a file by accessing the export routine
in Outlook and using VBA to select the options such as pst file, inbox, do
not replace duplicates, file name, etc.?

Specifically, where do I find the names of the controls in the Export
function to call?

My daughter gets confused trying to backup and I would like to simplify it
by calling a macro to do it in one step.

Thanks for the help.
Ads
  #2  
Old January 6th 10, 08:09 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Automating Exporting to pst file

No, that dialog cannot be automated unless maybe with a SendKeys kludge.

Furthermore, export to a new .pst file is not the same as backup and is
always a last resort, not a standard procedure. Check
http://www.slipstick.com for the existing backup utilities available,
including a free one from Microsoft.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Trouble" wrote in message
...
I have done a lot of VB6 programming and integrated Excel and Access into
my
apps but have not done so with Outlook. I am using Outlook 2000.

Is there a way to use the Export to a file by accessing the export routine
in Outlook and using VBA to select the options such as pst file, inbox, do
not replace duplicates, file name, etc.?

Specifically, where do I find the names of the controls in the Export
function to call?

My daughter gets confused trying to backup and I would like to simplify it
by calling a macro to do it in one step.

Thanks for the help.



  #3  
Old January 6th 10, 10:33 PM posted to microsoft.public.outlook.program_vba
Karl Timmermans
external usenet poster
 
Posts: 789
Default Automating Exporting to pst file

May I suggest also checking some excellent and relatively inexpensive
($50) backup/restore products that would be useful not just for backing
up Outlook but also for your system (or any part of it) and it can all be
automated.

Acronis (TrueImage Home)
http://www.acronis.com/
Genie-Soft
http://www.genie-soft.com/
NTI
http://www.ntius.com/en/us/home/Default.asp

Acronis TI in particular has saved us endless recovery hours on
numerous occasions and be operational again very, very quickly.

Karl
--
__________________________________________________ __________
Karl Timmermans - The Claxton Group
ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr
"Contact import/export/data management tools for Outlook '2000/2010"
http://www.contactgenie.com


"Trouble" wrote in message
...
I have done a lot of VB6 programming and integrated Excel and Access into
my
apps but have not done so with Outlook. I am using Outlook 2000.

Is there a way to use the Export to a file by accessing the export routine
in Outlook and using VBA to select the options such as pst file, inbox, do
not replace duplicates, file name, etc.?

Specifically, where do I find the names of the controls in the Export
function to call?

My daughter gets confused trying to backup and I would like to simplify it
by calling a macro to do it in one step.

Thanks for the help.



  #4  
Old January 7th 10, 05:33 PM posted to microsoft.public.outlook.program_vba
Trouble
external usenet poster
 
Posts: 2
Default Automating Exporting to pst file



"Karl Timmermans" wrote:

May I suggest also checking some excellent and relatively inexpensive
($50) backup/restore products that would be useful not just for backing
up Outlook but also for your system (or any part of it) and it can all be
automated.

Acronis (TrueImage Home)
http://www.acronis.com/
Genie-Soft
http://www.genie-soft.com/
NTI
http://www.ntius.com/en/us/home/Default.asp

Acronis TI in particular has saved us endless recovery hours on
numerous occasions and be operational again very, very quickly.

Karl
--
__________________________________________________ __________
Karl Timmermans - The Claxton Group
ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr
"Contact import/export/data management tools for Outlook '2000/2010"
http://www.contactgenie.com


"Trouble" wrote in message
...
I have done a lot of VB6 programming and integrated Excel and Access into
my
apps but have not done so with Outlook. I am using Outlook 2000.

Is there a way to use the Export to a file by accessing the export routine
in Outlook and using VBA to select the options such as pst file, inbox, do
not replace duplicates, file name, etc.?

Specifically, where do I find the names of the controls in the Export
function to call?

My daughter gets confused trying to backup and I would like to simplify it
by calling a macro to do it in one step.

Thanks for the help.



.

Thanks to both of you for the replies. I have had my Outlook pst file become
corrupted a number of times and the repair routine not be able to repair it
but I have recovered the inbox and sent items by religiously exporting inbox
to a file named inbox.pst and sent items to a file named sent items.pst on
another computer on my LAN.

I'll look into the software you recommended. Thanks again.
 




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
Missing a "Export to a file" link under FILE to exporting contacts deafmentor Outlook - Using Contacts 1 August 9th 09 11:40 PM
Exporting Contacts to CSV file IvanK Outlook - Using Contacts 0 September 10th 08 07:52 AM
Exporting Contacts to CSV file cej Outlook - Using Contacts 5 March 9th 08 05:15 PM
Automating the "Save As Web Page" function for exporting my calend Gregg De Winter Outlook - Calandaring 4 February 19th 08 02:01 PM
Exporting contacts in a csv file cinnamngrl Outlook - General Queries 7 November 24th 07 05:12 PM


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