Avatar of ammounpierre
ammounpierre
 asked on

How to Export a pst by code ?

Hello gurus,
I am using Excel 2007
I need to export a mailbox as PST to a file.
I do not want to copy the pst file. I need the export procedure as a batch file.
thanks a lot.

Pierre Ammoun
Outlook

Avatar of undefined
Last Comment
ammounpierre

8/22/2022 - Mon
peakpeak

Please elaborate? The content of the .pst cannot be expressed as code
ammounpierre

ASKER
I have a large Outlook PST file (Outlook 2007) that I would like to move often from my office to home.
The Actual PST file is about 4GB big.
So far what I am doing is going to Outlook - Import & Export - Export to a file - Select PST format - Select Inbox and check the Subfolders
Clicking on filter and I select today's date range.
I then get a very small pst that I import at home.
I would like to automate this.
I know about exmerge ...but this works only with Exchange.. As far as I know.
thanks for helping out.
peakpeak

Export your dangerous huge .pst to archive.pst, delete your dangerous many old emails and please tell me where Excel 2007 enter into this
Your help has saved me hundreds of hours of internet surfing.
fblack61
ammounpierre

ASKER
"please tell me where Excel 2007 enter into this" ??????
????
peakpeak

Yes: "Hello gurus,
I am using Excel 2007"

Isn't this Outlook?
ammounpierre

ASKER
Okay... I am sorry ... It is outlook 2007 I am using... Sorry for the mistake !!!!
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
peakpeak

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ammounpierre

ASKER
but not what I am looking for !
ammounpierre

ASKER
The site u provided me looks like google for me ! It would take me for ever to find what I need.
I was hoping that somebody from EE has experienced the same issue and has the solution ...
ammounpierre

ASKER
?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ammounpierre

ASKER
??