LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Error Checking Assistance

How can I get this to not stop when I receive an error and put a blank in
that range.
I am receiving a run-time error
[CDO - MAP_E_NOT_FOUND(8004010F]]

----------------------------------------------------------------------------
------------------

For Each myAddressEntry In objSession.AddressLists.Item("Global Address
List").AddressEntries

If Len(myAddressEntry.fields(PR_ACCOUNT)) = 7 Then

Range("Feeder!B" & i).Value = myAddressEntry.fields(PR_DISPLAY_NAME)

If Len(myAddressEntry.fields(PR_SMTP)) = 0 Then
Range("Feeder!A" & i).Value = ""
Else
Range("Feeder!A" & i).Value = myAddressEntry.fields(PR_SMTP)
End If

If Len(myAddressEntry.fields(PR_EMS_AB_HOME_MTA)) = 0 Then
Range("Feeder!C" & i).Value = ""
Else
Range("Feeder!C" & i).Value =
myAddressEntry.fields(PR_EMS_AB_HOME_MTA)
End If

i = i + 1

End If

Next


Thank you


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error checking jason2444 Excel Discussion (Misc queries) 3 August 28th 07 09:29 PM
#DIV/0! Error-Another Twist, assistance please? Dan the Man[_2_] Excel Worksheet Functions 9 July 20th 07 11:48 PM
Error Checking SammyB Excel Discussion (Misc queries) 2 June 4th 07 10:48 AM
Error Checking Lost in Microbiology Excel Discussion (Misc queries) 8 May 11th 07 05:36 AM
Error Checking mworth01 Excel Discussion (Misc queries) 1 May 18th 06 08:45 PM


All times are GMT +1. The time now is 11:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"