+ Reply to Thread
Results 1 to 1 of 1

Excel macro to get outlook contact info (runtime error/crashing)

  1. #1
    Registered User
    Join Date
    07-25-2011
    Location
    Germany
    MS-Off Ver
    Excel 2003
    Posts
    4

    Excel macro to get outlook contact info (runtime error/crashing)

    Hello,
    I have an excel macro to get contact info from outlook 2007

    I am getting runtime errors or crashes.

    I have created a little test macro to show the problems

    You need to add a reference to "Microsoft CDO 1.21 Library" and "Microsoft Outlook 12.0 Object Library"
    Please Login or Register  to view this content.
    test1 fails
    test2 crashes
    test3 produces a runtime error

    test4 does work because of two facts:
    1) error is skipped
    2) i = mapiAddressEntries.Count is read
    without 2) test4 will fail

    thanks
    Last edited by ZTHawk; 12-19-2012 at 04:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1