From: Jeff Miller Date: 2008-03-21T06:16:43+09:00 Subject: Re: Win32Ole, MAPI, and Outlook Aha! I got it to work by using some simple exception handling. Since I hadn't used it before (I'm somewhat new to scripting) I didn't really think of it before. Anyway, in conclusion, I used this: begin co_contacts = mapi.GetDefaultFolder(10).Folders("Company Contacts") rescue Exception co_contacts = mapi.GetDefaultFolder(10).Folders.Add("Company Contacts") end Thanks! - Jeff -- Posted via http://www.ruby-forum.com/.