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

Export each calendar entry to a text file between two dates



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 9th 08, 01:24 AM posted to microsoft.public.outlook.program_vba
Arry Potter
external usenet poster
 
Posts: 1
Default Export each calendar entry to a text file between two dates

Hi,
I am new to outlook vba and need a code which can export each of my
calendar entry between two dates to a text file. All I want it to do is to
extract each calendar entry (fields : from,subject,location,body) and dump
this to a text file with the appointment name as the text file name.This
should be done for all entries between two dates. SO if I have 10 calendar
appointments it must create 10 files with the appointmnent name as the file
name.

Please help me as this is an urgent requirement
Ads
  #2  
Old September 9th 08, 06:57 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Export each calendar entry to a text file between two dates



For gettign the appointments, you may adapt this sample:
http://www.vboffice.net/sample.html?...cmd=showite m

If you can live with how Outlook saves the file, simply call each item's
SaveAs method:

Item.SaveAs "c:\" & Item.Subject & ".txt", olTXT

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool
: http://www.vboffice.net/product.html?pub=6&lang=en



Am Mon, 8 Sep 2008 17:24:01 -0700 schrieb Arry Potter:

Hi,
I am new to outlook vba and need a code which can export each of my
calendar entry between two dates to a text file. All I want it to do is to
extract each calendar entry (fields : from,subject,location,body) and dump
this to a text file with the appointment name as the text file name.This
should be done for all entries between two dates. SO if I have 10 calendar
appointments it must create 10 files with the appointmnent name as the

file
name.

Please help me as this is an urgent requirement

 




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
export .dbx to a text file Lee Bacall Outlook Express 3 November 10th 07 02:43 AM
How to export all sent OL emails to a plain text file [email protected] Add-ins for Outlook 0 July 12th 07 11:54 AM
Meeting Invitation comes as text e-mail, not a Calendar Entry Harvey Outlook - Calandaring 6 November 11th 06 03:13 AM
Export Calendar from outlook to Excel with Dates in columns Andreb Outlook - Calandaring 1 March 21st 06 07:14 PM
auto scan email content for dates/times, generate calendar entry cagphd Outlook - Calandaring 1 February 25th 06 04:17 AM


All times are GMT +1. The time now is 07:50 AM.


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.