Link to home
Start Free TrialLog in
Avatar of JP53
JP53

asked on

VBA Outlook

How do I check that an Outlook object exists using VBA? I want to check that the find method below returns an object

Set objItem = objFolder.Items.Find("@SQL=(http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/8084001f LIKE '%" + emailad + "%')")
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JP53
JP53

ASKER

Thanks both