![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#2
|
|||
|
|||
![]()
Date searches need a specific syntax; see http://www.outlookcode.com/article.aspx?id=30
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "donwb" wrote in message ... I use Win XP and Office 2003 I am using a routine to extract information from Outlook and use it in Excel. There are a number of lines of code in the Excel macro to define the various Outlook elements, then this:- Set objContact = olJournalFolder.Items.Find("[ContactNames] = ""Singer""") myItem = objContact.Display which works fine, but the following gives the error:- Type Mismatch or the value"MyDate" in the condition is not valid. Set objDate = olJournalFolder.Items.Find("[Start] = MyDate") (MyDate is a variable in the Format dd mm yyyy, which is the same format as the 'Start' dates in the Outlook Journal.) I think it must be a wrong syntax or date format, as I expected "ContactNames" and "Start" to be treated the same in the .Find statement. Guidance would be welcome donwb |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I share contact data between Excel and Outlook? | LSPosey | Outlook - Using Contacts | 2 | November 18th 07 12:45 AM |
How do I link Excel data to an Outlook Calendar? | jrquebe | Outlook - Calandaring | 0 | July 16th 06 03:30 PM |
linking outlook data to excel | manish chulawala | Outlook - Using Contacts | 5 | June 8th 06 02:42 PM |
transfer excel data into outlook contacts | Transfer excel data to outlook contact | Outlook - Using Contacts | 1 | May 2nd 06 09:32 AM |
Can I import data from Excel into Outlook | Sheila | Outlook - Using Contacts | 3 | April 17th 06 09:57 PM |