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

open outlook data files from vbscript / macro?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 16th 06, 06:38 PM posted to microsoft.public.outlook.program_vba
Mad Scientist Jr
external usenet poster
 
Posts: 3
Default open outlook data files from vbscript / macro?

Can someone post code that can be used in a macro to do the same thing
in Outlook as

File Open Outlook Data File C:\Documents and Settings\joeblow\My
Documents\joeblow_personal_mail.pst

File Open Outlook Data File C:\Documents and Settings\joeblow\My
Documents\Folder 1\joeblow_junk_mail.pst

File Open Outlook Data File C:\Documents and Settings\joeblow\My
Documents\Folder 2\joeblow_office_mail.pst

to open all 3 mail files (and if possible, expand the folders) in one
click of a macro button?

Much appreciated..

Ads
  #2  
Old January 16th 06, 07:13 PM posted to microsoft.public.outlook.program_vba
Jay Taplin
external usenet poster
 
Posts: 1
Default open outlook data files from vbscript / macro?

Session.AddStore PSTName "C:\mystore.pst"

Jay Taplin, MCP

  #3  
Old January 24th 06, 10:20 PM posted to microsoft.public.outlook.program_vba
Mad Scientist Jr
external usenet poster
 
Posts: 3
Default open outlook data files from vbscript / macro?

Thanks, I'll give it a try...

 




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
Reminders stopped working when data files were moved Spider Outlook - General Queries 1 March 8th 06 11:46 AM
VBscript support Outlook forms Peter S Outlook - Installation 0 March 6th 06 04:15 PM
Outlook 2002, hotmail and data files - is it possible? [email protected] Outlook - General Queries 4 February 27th 06 11:52 PM
How do I transfer outlook 2003 data files to another computer wlrtz Outlook - Using Contacts 3 February 10th 06 08:53 PM
Outlook Data Files Shauna T Outlook - General Queries 3 January 8th 06 11:55 AM


All times are GMT +1. The time now is 03:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.