Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Aweiher is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    25
    No I have not yet figured out how to send an appointment via access



    Code:
    Testing this feature out

  2. #17
    sstiebinger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2015
    Posts
    105
    Since you are trying to email the event, I wouldn't use the outlook object directly, I would create an iCalendar file then send that as an attachment in an email via outlook automation.

  3. #18
    sstiebinger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2015
    Posts
    105
    here's a link for some code to do it from Excel... you'll have to modify and extend it for your needs.

    http://www.gsericksen.com/2015/03/ex...calendar-file/

  4. #19
    Aweiher is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    25
    vicsaccess no I have not yet figured out how to email the appointments from access. I'm starting to wonder if it's even possible.

  5. #20
    sstiebinger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2015
    Posts
    105
    Did you look at the iCalendar option?
    Seems pretty easy to create an iCal file, then use outlook integration to generate an email and attach the iCal file.

  6. #21
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    sstiebinger, do you have any examples? not sure about aweiher but i'm not familiar with doing that. i have done a little research on this in the past and like i said it would be one of those nice things to have but until i get time to research it its on the back burner. most everything i have read though always points to this book.
    Sue Mosher's outstanding Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators
    search it on google and you'll see it sold several places. keep me up to date please

  7. #22
    sstiebinger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2015
    Posts
    105
    Per the link I posted earlier on creating an icalendar file with VBA or a number of quick google searches on creating an icalendar file.
    The link I posted earlier is written for Excel, but should give enough of a starting point to generate similar code for Access.

    The iCal file has nothing to do with outlook and is fairly trivial to set up.

    Once the file is created, you would then connect to outlook to generate a new email message and attached the file you just created.
    Creating an email and attaching a file are common tasks that are automated in Outlook and you should be able to find any number of examples with a google search.

    For instance:
    http://stackoverflow.com/questions/1...ith-attachment

  8. #23
    Aweiher is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2016
    Posts
    25
    Oh man I'm not messing with Ical files. I'm going to give up on this one. The code I got earlier about adding an appointment to my outlook with a click of a button was pretty useful. Can I mark a threat "Sort of Solved"? lol

  9. #24
    sstiebinger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2015
    Posts
    105
    You can add to that user's reputation by clicking the little sheriff's badge icon below their post.

  10. #25
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    Did you have a chance to look into that book i suggested? my understanding is that it is about the best at working access with outlook. not sure when i will be able to start looking into this but that was the best place for knowledge to do it that everyone suggested.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Add attachment to Outlook Email from Table?
    By floyd in forum Programming
    Replies: 3
    Last Post: 11-27-2013, 12:04 PM
  2. Replies: 5
    Last Post: 10-08-2013, 08:16 AM
  3. Replies: 1
    Last Post: 04-01-2013, 05:00 PM
  4. Send email in Outlook with attachment
    By kelkan in forum Programming
    Replies: 1
    Last Post: 02-01-2013, 10:31 PM
  5. Excel attachment and save as draft in outlook
    By ragsgold in forum Programming
    Replies: 1
    Last Post: 02-01-2013, 05:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums