I've got an excel file that uses ShellExecute to send out an email to everyone I list when a new order arrives. What I really want is for that email, or even a seperate function I can link, to also place an all day event on a public calender. It would take the date from a cell on the current active page and take a Subject from the current active page to create an all day reminder on that date with that subject line.
The shellexecute I'm using is as follows
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
pretty much I'm opening outlook because thats the default email program so I don't know if that will work in any way for adding something more specific to outlook. Any help would be much appreciated.
The shellexecute I'm using is as follows
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
pretty much I'm opening outlook because thats the default email program so I don't know if that will work in any way for adding something more specific to outlook. Any help would be much appreciated.