Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What view are you setting up in advanced find ? As you can write a VBA macros to pull items from your inbox and put them into you speadsheet. Alot of the advance find option are not in the outlook object model so it depends on the view you are trying to set up. So can you tell me what you are doing in advanced find ..? 76mel</p> <p>Ok using outlook tables you can put this in your Excel as a macro <br/> Use "sfilter" to define your advance search criteria. <br/> You will have to pump the data into Excel at the bottom.</p> <pre><code>Sub GetMail() Dim oApp As Outlook.Application Dim oFolder As Outlook.Folder Dim oNameSpace As Outlook.Namespace Dim emailCount As Integer Dim counter As Integer Dim sfilter As String Dim oRow As Outlook.Row Dim oTable As Outlook.Table Dim i As Outlook.MailItem Set oApp = CreateObject("Outlook.Application") Set oNameSpace = oApp.Session Set oFolder = oNameSpace.GetDefaultFolder(olFolderInbox) 'Add what ever filter you want here using DASL sfilter = "[LastModificationTime] &gt; '5/1/2005'" 'Restrict with Filter Set oTable = oFolder.GetTable(sfilter) 'Remove all columns in the default column set oTable.Columns.RemoveAll 'Specify desired properties With oTable.Columns .Add ("EntryID") .Add ("Subject") .Add ("ReceivedTime") End With 'Enumerate the table using test for EndOfTable 'Pump it into your worksheet Do Until (oTable.EndOfTable) Set oRow = oTable.GetNextRow() Debug.Print (oRow("EntryID")) Debug.Print (oRow("Subject")) Debug.Print (oRow("ReceivedTime")) Loop 'Clean up Set oTable = Nothing Set oFolder = Nothing Set oNameSpace = Nothing Set oApp = Nothing </code></pre> <p>End Sub</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload