excel to open outlook calendar on specific date

Luis FR

New Member
Joined
Oct 16, 2020
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello gurus! I've been looking around for a while and even though I was able to find some VBA scripts to open outlook calendar from excel, I need to find a way to open outlook's calendar on a given date that is feed from a defined cell.
I don't know if that can be done.

regards!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
.
This is one method :

Option Explicit

Public RunWhen As Double

'**************************************Application.OnTime**********************
Sub ScheduleMacro()
'This schedules the next run time
RunWhen = Sheet1.Range("A1").Value
Application.OnTime EarliestTime:=RunWhen, Procedure:="MyMacro", Schedule:=True
End Sub
Sub MyMacro()
''''''''''''''''''''''''
' Your code here
MsgBox "Hi"
''''''''''''''''''''''''
End Sub
Sub CancelSchedule()
'Cancels the scheduled event
RunWhen = Sheet1.Range("A1").Value
On Error Resume Next
Application.OnTime EarliestTime:=RunWhen, Procedure:="MyMacro", Schedule:=False
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top