M
masani paresh
Hi,
I have written simple VBA macro to delete recurrence meetings in
outlook(macro cod is given below). Could any one please tell me what is the
simplest method to convert this macro into Outlook Add-in such that it should
create button on Outlook toolbar and also register itself and start working.
Sub DeleteMeetings()
Dim olkItems As Outlook.Items
Set olkItems = Session.GetDefaultFolder(olFolderCalendar).Items
olkItems.IncludeRecurrences = True
For Each olkAppt In olkItems
olkAppt.Delete
Next
Set olkItems = Nothing
MsgBox "Macro executed successfuly: " & Err
End Sub
I have written simple VBA macro to delete recurrence meetings in
outlook(macro cod is given below). Could any one please tell me what is the
simplest method to convert this macro into Outlook Add-in such that it should
create button on Outlook toolbar and also register itself and start working.
Sub DeleteMeetings()
Dim olkItems As Outlook.Items
Set olkItems = Session.GetDefaultFolder(olFolderCalendar).Items
olkItems.IncludeRecurrences = True
For Each olkAppt In olkItems
olkAppt.Delete
Next
Set olkItems = Nothing
MsgBox "Macro executed successfuly: " & Err
End Sub