outlook macro advanced search
问题 I would like to create a macro to perform an "Advanced Search" on tasks subject and optionally tasks body. For instance search for "@Cris" I have copied and modified this code from an example for Excel but it doesnt run. Runtime Error. Appreciate any assistance Sub AdvancedSearchComplete() Dim rsts As Outlook.Results Dim i As Integer Dim strF As String Dim strS As String strS = "Tasks" StrName = InputBox("Search String?") strF = InStr(LCase("urn:schemas:tasks:subject"), StrName) Set sch =