Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
Sub toggleScheduledSendReceive() ' this only works in Outlook 2010 and earlier ' the Line1 code must run BEFORE the Line2 .execute command ' if Line1 comes after the .execute it will randomly return the control's PREVIOUS value rather than the TOGGLED value. ' this because the .execute runs asynchrously. ' Vba starts the .execute, then resumes at line2B ' even though the toggle may or may not have finished. On Error GoTo err_routine Dim x Dim OutlookSendReceiveWasPreviouslyDisabled As Boolean Line1: OutlookSendReceiveWasPreviouslyDisabled = Application.ActiveExplorer().CommandBars("Standard").Controls("Send/Re&ceive").Controls("Send/Recei&ve Settings").Controls("&Disable Scheduled Send/Receive").State Line2: Application.ActiveExplorer().CommandBars("Standard").Controls("Send/Re&ceive").Controls("Send/Recei&ve Settings").Controls("&Disable Scheduled Send/Receive").Execute Line2b: If OutlookSendReceiveWasPreviouslyDisabled Then MsgBox "Send/Receive schedule has been Enabled." Else msgBox "Send/Receive and Server Import schedules have been Disabled" End If exit_sub: Exit Sub err_routine: msgBox Error$ Resume exit_sub
|Extract Sent Items from POP account on Ipad||11||54|
|Managing Email size limits in Exchange 2010 SP3||2||50|
|Outlook 2010 public folders||1||31|
|Trying to write a script in Outlook that forwards emails with a new subject...||29||46|