468,275 Members | 1,807 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,275 developers. It's quick & easy.

Outlook Calendar Export snipit

1
Hi... this code works GREAT for exporting items to my calendar appointments. BUT I need this to be able to export appointments to a SHARED Calendar. If this possible? Also I have access to the Shared calendar folder.

Please let me know what can be done to make this work...
Thank you.

I have inserted the code below:



Expand|Select|Wrap|Line Numbers
  1. Private Sub cmdExportOutlook_Click()
  2.  
  3. Dim vCount As Long
  4.  
  5.     If MsgBox("WARNING. This operation will export all appointments in your " _
  6.     & "database to your MS Outlook calendar, do you want to continue?", _
  7.     vbQuestion + vbYesNo, "Export Calendar Appointments") = vbNo Then Exit Sub              'confirm export operation
  8.     vCount = ExportOutlookAppointments                                                      'export appointments to Outlook calendar
  9.     MsgBox "There were " & vCount & " appointment/s exported to MS Outlook.", _
  10.     vbExclamation + vbOKOnly, "Exported Appointments"
  11.  
  12. End Sub 
Jan 29 '20 #1
0 1667

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Bijoy Naick | last post: by
reply views Thread by davidman73 | last post: by
2 posts views Thread by dunk_king | last post: by
reply views Thread by Royden | last post: by
reply views Thread by keri | last post: by
2 posts views Thread by Mr K New | last post: by
1 post views Thread by =?Utf-8?B?cnNtYXJpbg==?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.