+ Reply to Thread
Results 1 to 3 of 3

Dates from Excel to Outlook appointments

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Espoo. Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Dates from Excel to Outlook appointments

    New here, hi to all! I've been coding in Matlab etc. before but VBA is uncharted territory.

    I have a sheet where in A column are heading information and in B column are the dates. I column contains additional information. I've been working on a macro that makes Outlook appointments (whit alarm) from this data. As the progress is automated the code also checks for duplicated appointments.

    My system and Excel uses EU date format.

    After three days of work I still have two problems:
    -Date formatting brakes in VBA. All my appointments are in Outlook in 30.12.1899 not i.e. 25.11.2013 I have in Excel. I guess problem is the date format Excel uses is EU dates and VBA works in American format in for/if loop
    -I do not get Excel to read value from A column to subject of appointment or value from I column to body text of appointment. Instead subject is blank and in body is only the standard text.

    Any help would really be appreciated! And sorry about my language, English is not my native language.

    Piecing together from internet sources and my knowledge I have a code:
    Please Login or Register  to view this content.
    Last edited by finfly; 07-01-2013 at 04:47 AM.

  2. #2
    Registered User
    Join Date
    06-18-2013
    Location
    Espoo. Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dates from Excel to Outlook appointments

    After a weeks work I'm closer to solution.

    Now I have in A colum heading information and dates are in B or D columns. Code detects existing entries and does not create duplicates.

    I still would like the code to create new appointment when date changes.I've tried many solutions, this is closest I got.

    Any help how I could create it to my macro? Please?

    Please Login or Register  to view this content.
    Or the other way: replasing the find loops with delete loop. It deletes around half of old entries. What's wrong here?

    Please Login or Register  to view this content.
    Last edited by finfly; 06-28-2013 at 08:36 AM. Reason: Delete loop added

  3. #3
    Registered User
    Join Date
    06-18-2013
    Location
    Espoo. Finland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dates from Excel to Outlook appointments

    I finally craced it. Because I got the code from the general onlinw community I share it to the community.

    This code looks A colum for subject and B for date. If B containst text it gets date from E column. All this it combines to Outlook appointment. Program also detects changes in dates.

    Please Login or Register  to view this content.

+ 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