Export each calendar entry to a text file between two dates

  • Thread starter Thread starter Arry Potter
  • Start date Start date
A

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
 
For gettign the appointments, you may adapt this sample:
http://www.vboffice.net/sample.html?mnu=2&pub=6&lang=en&smp=13&cmd=showitem

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:
 
Back
Top