+ Reply to Thread
Results 1 to 3 of 3

import/export calendar info between Outlook and Excel

  1. #1
    Registered User
    Join Date
    01-17-2006
    Posts
    46

    import/export calendar info between Outlook and Excel

    Hi all,

    I am importing/exporting calendar data between my Outlook calendar and an Excel (.csv) file. I would like to automate this process with macros, ideally run from Excel.

    The importing/exporting function is in Outlook. When I record a macro in Excel, it stops recording when I switch to Outlook. Outlook has macro functionality but no record option.

    Can anyone offer a suggestion or provide code that will enable this?

    Export Process
    File > Import/Export
    Choose an action to perform: Export to file
    Create a file of type: Comma Separated Values (Windows)
    Select folder to export from: Calendar
    Save exported file as: C:\Documents and Settings\Robert\Desktop\CalendarImport3.csv
    Replace Existing file?: Yes
    Finish
    Set Date Range 1/2/2008 and 30/12/2010

    Import Process
    File > Import/Export
    Choose an action to perform: Import from another program or file
    Select file type to import from: Comma Separated Values (Windows)
    File to import: C:\Documents and Settings\Robert\Desktop\CalendarImport3.csv
    Options: Replace duplicates with items imported
    Select destination folder: Calendar

    The automation is complicated by the need to save and close the excel file prior to importing or exporting to/from it.

    Happy to elaborate further if required.

    I originally posted this in the excel miscellaneous forum, then found this forum. The original post is at this link, if you are able to help, please post on the linked thread to help ensure I'm not wasting users time.

    http://www.excelforum.com/showthread.php?t=638526

    Thank you in advance for any assistance.

    Regards,

    Heski
    Last edited by heski; 03-22-2008 at 06:11 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Heski,

    Please my post to original post in the Miscellaneous Forum.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    01-17-2006
    Posts
    46
    Thanks Leith,

    Appreciate the response.
    It's good to at least know the level of difficulty involved.

    Regards,

    Heski

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1