Now the selected command is added to the right box. Go ahead to (1) select Macros from the Choose commands from drop down list, (2) select Project1.ItemDisableForwarding in the left box, and (3) click the Add button.ĩ. Please click the Rename button, type a new name for it and click the OK button in the Rename dialog box. Now a new group is added under Appointment tab. In the Outlook Options dialog box, click Customize Ribbon in the left bar, click to highlight Appointment in the right box, and click the New Group button. Click File > Options to open the Outlook Options dialog box.Ħ. Open a calendar folder, and click Home > New Meeting to create a new meeting.ĥ. Save the VBA code, and close the Microsoft Visual Basic for Applications window.Ĥ. MsgBox "Forwarding current meeting has been enabled."ģ. XCurrentItem.Actions("Forward").Enabled = True Set xCurrentItem = ActiveInspector.CurrentItem Any meeting attendee is prevented from forwarding this meeting." MsgBox "Forwarding current meeting has been disabled. XCurrentItem.Actions("Forward").Enabled = False VBA: Prevent attendees from forwarding meeting Sub ItemDisableForwarding() Click Insert > Module, and paste below VBA code into the new Module window. Press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. This method will guide you to add Disable Forwarding and Enable Forwarding buttons on the Ribbon in the Meeting window by VBA, and then you can prevent attendees from forwarding your meeting by the Disable Forwarding button.
0 Comments
Leave a Reply. |