Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2014, 02:46 AM
megatronixs megatronixs is offline archive, move emails to .pst file with vba Windows 7 32bit archive, move emails to .pst file with vba Office 2003
Advanced Beginner
archive, move emails to .pst file with vba
 
Join Date: Aug 2012
Posts: 42
megatronixs is on a distinguished road
Default archive, move emails to .pst file with vba

Hi all,

Is there a way to move/archive the old emails from a folder to a .pst file with vba? I'm looking for such information in google, but no luck.
I already did manage to copy old emails from a folder to a folder on the hard drive, but have no clue how to actually move the emails from the same folder to a .pst file and the files should be really be gone from there.


It would be great if the .pst file could be closed and not opened every time for moving the emails.

Any ideas how to get this "moving" thing going on?

Greetings.
Reply With Quote
  #2  
Old 01-02-2015, 02:54 AM
thetraininglady thetraininglady is offline archive, move emails to .pst file with vba Windows 7 64bit archive, move emails to .pst file with vba Office 2010 32bit
Competent Performer
 
Join Date: Sep 2014
Location: Sydney, Australia
Posts: 214
thetraininglady is on a distinguished road
Default

Is there a particular reason you want to use VBA as opposed to the built-in Archive feature in Outlook?
Reply With Quote
  #3  
Old 01-21-2015, 10:43 AM
megatronixs megatronixs is offline archive, move emails to .pst file with vba Windows 7 32bit archive, move emails to .pst file with vba Office 2003
Advanced Beginner
archive, move emails to .pst file with vba
 
Join Date: Aug 2012
Posts: 42
megatronixs is on a distinguished road
Default

Hi,

I actually found a solution for this. I will post later on the code when I can log into my workstation.

Greetings.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a rule to move emails from inbox to Archive, or AutoArchive, etc EatVegetables Outlook 0 03-18-2014 05:21 AM
archive, move emails to .pst file with vba Move emails from one pst file to another? campingshadow Outlook 1 11-22-2010 10:55 PM
My .pst archive appears to be missing random emails... Can i retrieve them?? Urgent! laz Outlook 0 10-21-2010 03:23 AM
Single-click to archive emails to dif't folders based on original folder? Dougmeister Outlook 0 09-23-2010 01:18 PM
archive, move emails to .pst file with vba Can I see my emails if I archive? dave1372 Outlook 1 09-01-2010 04:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft