exception when I call ActiveDocument.Range(0,0).Editors.Add(-1)

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

When I browse to an email, the plug in will search the email text. If find
URL inside the email I will insert some string into the email based on if the
URL is safe or not.

It works fine on Outlook 2007. However in Outlook 2010 beta when I call:
ActiveDocument.Range(0,0).Editors.Add(-1) // where -1 stands for everyone
It raise exception.

BTW, I've tried different integers as parameter to Editers.Add() method. And
I also use email address, email alias string as parameters. All raise
exceptions.

Any suggestion?

Thanks in advance.

Tom
 
And what does the message of the exception tell you?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Wed, 9 Dec 2009 11:02:01 -0800 schrieb Tom:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top