+ Reply to Thread
Results 1 to 3 of 3

Adding Appointments to Outlook from an Excel Workbook

  1. #1
    Registered User
    Join Date
    11-07-2018
    Location
    Sydney Australia
    MS-Off Ver
    2016 Pro
    Posts
    74

    Adding Appointments to Outlook from an Excel Workbook

    Hi again all,

    I am trying to use VBA to add Outlook appointments in Bulk from Excel.

    I have written some code, but can't seem to understand where I am going wrong.

    Please Login or Register  to view this content.
    I am receiving an error "Compile Error" on oOL As Outlook.Application

    I have searched the net but can't find a simple fix, basically I just want to capture:

    Column A: Appointment Name
    Column B: Date
    Column C: Start Time
    Column D: End Time
    Column E: Appointment details (Body)


    Any help would be great, happy to discard my code if you have a better way to do this,

    Cheers

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Adding Appointments to Outlook from an Excel Workbook

    For your code you must :
    Display the Tols/References dialog box.
    Select the Microsoft Outlook x.xx object library

    or
    Dim oOL As object, oAppoint As object
    but any outlook constants must be replaced to value or defined
    Constant olAppointmentItem =1
    Constant olNONMeeting = 0

  3. #3
    Registered User
    Join Date
    11-07-2018
    Location
    Sydney Australia
    MS-Off Ver
    2016 Pro
    Posts
    74

    Re: Adding Appointments to Outlook from an Excel Workbook

    Thanks BMV, I completely forgot about that.

    I think that my coding needs some work still, it still seems to fail on r = oWS.Range("A1").CurrentRegion.Row.Count as invalid qualifier.

    I'll see what I can do, cheers
    Last edited by Lee_of_Excel; 05-25-2020 at 02:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import Outlook appointments to excel VBA
    By haza27 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-21-2019, 11:20 AM
  2. Have list of outlook appointments in excel? rss?
    By InvalidTxtString in forum Excel General
    Replies: 0
    Last Post: 09-11-2016, 09:33 AM
  3. Creating Outlook appointments using Excel and VBA
    By Jaque-Thay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2014, 12:49 PM
  4. [SOLVED] Dates from Excel to Outlook appointments
    By finfly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2013, 04:46 AM
  5. Excel VBA and Outlook appointments
    By Ironman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2011, 12:00 PM
  6. Creating Outlook appointments from Excel
    By BrakZak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2007, 11:35 AM
  7. appointments in Outlook from Excel
    By each in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2007, 08:11 AM

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