Results 1 to 6 of 6
  1. #1
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115

    Getting Outlook Calendar into my Access 2016 database

    The title says it all! I have an Access 2016 database and it has various facilities that are opened with a button. I want to add another button which will show a working copy of Outlook Calendar. Thank you.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Quote Originally Posted by LeonS View Post
    The title says it all! I have an Access 2016 database and it has various facilities that are opened with a button. I want to add another button which will show a working copy of Outlook Calendar. Thank you.
    I normally start here https://www.google.com/search?q=connect+access+database+to+outlook+calend ar&rlz=1C1CHWL_enGB942GB942&oq=link+access+db+to+o utlook&aqs=chrome.3.69i57j0i22i30l3.9180j0j4&sourc eid=chrome&ie=UTF-8


    However I only have 2007, and strangely it does not allow access to the Outlook Calendar, but does to the Google calendar I have linked in Outlook.

    Of course presentation is up to you? Mine is just a table, but you could use with DaveGri's calendar on this site to populate.?

    Edit: My linked calendar does not show actual dates of events?, so no good to man or beast.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Wonderful!! On reading the material you sent, I also looked at some of my existing code. I created a Macro based on some other macros. I used the RunApplication with a command line of # "outlook.exe /select outlook:calendar" #. and that opened Outlook and took me straight to the Calendar page. Brilliant. So, again, Thank You !!!

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    I know. What did we ever do before Google

    Someone, somewhere has had the problem before you. However I thought you wanted the calendar IN Access, not just be able to change to Outlook.?

    BTW the # is meant to be the # in the toolbar, which makes a code block, so code is easily read. Like this

    Code:
    "outlook.exe /select outlook:calendar"
    You are the second person to read it that way. I will need to change my signature and try and make it clearer.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Sorry for getting the # wrong!! I think it would be good to have Outlook in my database, but this is the next best thing. I can open Outlook, while I am in my database, mark the appointment, and then return to my database. Easy - I hope!!
    I do have another query, with which you may be able to help. Within a form I have a button to Find, this case, a Salutation. Works perfectly!! I want to find everyone called David - and it produces a list of all the Davids. And down in the bottom left-hand corner there are the arrows to take me through the list. Excellent. But how do I get back to my main database? I seem to be stuck on the list of Davids. Lechyd Da!
    This is the current script:
    Private Sub Command212_Click()


    Dim S As String

    S = InputBox("Please enter Salutation", "Salutation", Salutation)
    If S = "" Then Exit Sub

    Me.Filter = "Salutation LIKE ""*" & S & "*"""
    Me.FilterOn = True


    End Sub

  6. #6
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    You at least set the filter off.
    You can clear the filter as well to be tidy/ultra safe.

    Code:
    Me.Filter = ""
    Me.FilterOn = False
    Can also use the Menu options to clear the filter, but I tend to have small button with the clear filter icon that Access produces.
    Attached Thumbnails Attached Thumbnails Remove Filter.PNG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Getting database contacts from access 2016 to Outlook
    By InterprojectAsia in forum General Chat
    Replies: 3
    Last Post: 10-16-2019, 02:37 AM
  2. Automating Outlook 2016 from Access 2016
    By jcc285 in forum Programming
    Replies: 10
    Last Post: 09-30-2017, 01:53 PM
  3. weekly appointment calendar access 2016
    By LaughingBull in forum Access
    Replies: 1
    Last Post: 05-17-2017, 02:48 PM
  4. Calendar control is missing in Access 2016
    By RogerAnnArbor in forum Programming
    Replies: 9
    Last Post: 01-19-2017, 05:12 PM
  5. Access to Outlook Calendar
    By GregShah in forum Import/Export Data
    Replies: 1
    Last Post: 02-06-2012, 01:27 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