Automating Exporting to pst file

Status
Not open for further replies.
T

Trouble

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

Sue Mosher [MVP]

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

"Trouble" <Trouble> wrote in message

news:294AB82B-D89A-49AB-B3D8-4065BF743BDF@microsoft.com...
> 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.
 
K

Karl Timmermans

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

______________________

ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr

"""

"Trouble" <Trouble> wrote in message

news:294AB82B-D89A-49AB-B3D8-4065BF743BDF@microsoft.com...
> 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.
 
T

Trouble

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

> ContactGenie - QuickPort/DataPort/Exporter/Toolkit/Duplicate Contact Mgr
> """
>

> "Trouble" <Trouble> wrote in message
> news:294AB82B-D89A-49AB-B3D8-4065BF743BDF@microsoft.com...
> >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.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
I Automating message move between folders Outlook VBA and Custom Forms 0
R Automating from excel into shared Calendars Using Outlook 1
C Automating subject line Using Outlook 1
L automating a BCC on every email Using Outlook 1
N Automating Outlook 2007 problem with sending mail Outlook VBA and Custom Forms 1
J Automating Word from script Outlook VBA and Custom Forms 8
S Automating the selection of email accounts upon adding email addre Outlook VBA and Custom Forms 1
S Outlook 2007: automating form with macro Outlook VBA and Custom Forms 2
HarvMan Exporting IMAP OST file to PST Using Outlook 5
O Carriage Return - Line Feeds - exporting Calendar events Using Outlook 0
B vBA for exporting excel file from outlook 2016 Outlook VBA and Custom Forms 3
GregS Exporting contacts Using Outlook 1
J OLADD.FAE Error When Exporting Contacts Using Outlook 6
R Exporting recovered Deleted Items outside the Inbox Using Outlook 1
N Exporting IM Address field Using Outlook 2
E Exporting email (.pst) Using Outlook 8
T exporting contacts names reversed in CSV file Using Outlook 8
R Exporting Excel data to Outlook 2016 Calendar Outlook VBA and Custom Forms 20
D EXPORTING MS EXCHANGE EMAILS to another platform Exchange Server Administration 10
R Exporting contacts from 2010 to 2013 Using Outlook 1
Connie Boyer Exporting Outlook calendar/find next repeating meeting Using Outlook 3
A Exporting email in outlook 2013 with Office 365 Using Outlook 1
Diane Poremsky Fix the Outlook Folder Type after Exporting an IMAP Account Using Outlook 0
V Exporting RSS Feed to OPML file Using Outlook 8
D Reoccuring appointment issues when exporting Calendar to Excel Using Outlook 3
B BCM 2010: Exporting Notes to .CSV with Business Contacts? BCM (Business Contact Manager) 3
Commodore Exporting all contacts to VCF files possible? Using Outlook 4
C Security Question - How to prevent users exporting .iaf files Using Outlook 5
C How to get SMTP out of email address when exporting contacts? Using Outlook 2
P Exporting group members from Outlook address group Using Outlook 11
M Error Messages when exporting Outlook 2010 Contacts to a CSV (DOS) or Excel Using Outlook 2
R Exporting and importing contacts in Outlook 2007 Using Outlook 1
C extra characters added to email when exporting Using Outlook 2
H Exporting Outlook Forms to Access or Excel Outlook VBA and Custom Forms 2
F Outlook 2007 BCM Exporting Files BCM (Business Contact Manager) 2
G exporting files from BCM BCM (Business Contact Manager) 1
G exporting from BCM BCM (Business Contact Manager) 1
D Exporting reports to Excel gives wrong numbers BCM (Business Contact Manager) 1
H Error in values when exporting report to Excel BCM (Business Contact Manager) 1
L Restoring Outlook from backup pst file Using Outlook 5
e_a_g_l_e_p_i Kernel Outlook .pst viewer Using Outlook 3
G Outlook Express (DBX) to Outlook (PST) Conversion Software Wanted Using Outlook 1
J Outlook 2003 .pst Will Not Restore Completely to Outlook 2019 Using Outlook 5
J SCANPST errors Outlook PST repair? Using Outlook 1
J What are .PST.db and .PST.db.journal Files? Using Outlook 2
Abraham Outlook 2013 Lost my folders when moving from PST to IMAP Using Outlook 11
L Article on merging pst file Using Outlook 1
e_a_g_l_e_p_i Changing where data .pst is saved to Using Outlook 3
M Convertor for Outlook Express Mail Store (.dbx) to Outlook Mail Store (.pst) Using Outlook 0
D a general question re how backup programs handle pst files ... I have no problems, just curious Using Outlook 1

Similar threads

Top