djsupersain
Member
- Outlook version
- Outlook 2016 64 bit
- Email Account
- Office 365 Exchange
Hi All,
Please if anyone can help that would be greatly appreciated.
I have Office 2016 Desktop connecting to Office365.
I have made a custom form and got the code from here to create a link in the Ribbon etc. It works perfectly to my personal calendar but I would like it to record to a Public Calendar that I have.
Please is someone able to assist with my code?
The structure for my calendar is:
Public Folders - test@test.com
> All Public Folders
>Test Folder
> Test Calendar
Below is my code for the custom form:
Sub MakeItem()
Set newItem = Application.CreateItemFromTemplate("C:\Users\Test\AppData\Roaming\Microsoft\Templates\Test.oft")
newItem.Display
Set newItem = Nothing
End Sub
Thank you so much in advance.
Please if anyone can help that would be greatly appreciated.
I have Office 2016 Desktop connecting to Office365.
I have made a custom form and got the code from here to create a link in the Ribbon etc. It works perfectly to my personal calendar but I would like it to record to a Public Calendar that I have.
Please is someone able to assist with my code?
The structure for my calendar is:
Public Folders - test@test.com
> All Public Folders
>Test Folder
> Test Calendar
Below is my code for the custom form:
Sub MakeItem()
Set newItem = Application.CreateItemFromTemplate("C:\Users\Test\AppData\Roaming\Microsoft\Templates\Test.oft")
newItem.Display
Set newItem = Nothing
End Sub
Thank you so much in advance.