A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 9th 09, 07:02 PM posted to microsoft.public.outlook.program_vba
Tom
external usenet poster
 
Posts: 181
Default exception when I call ActiveDocument.Range(0,0).Editors.Add(-1)

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
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with multiple wordmail editors in Outlook 2003 EirĂ­kur Fannar Torfason Add-ins for Outlook 4 September 12th 09 10:26 AM
Help with Range.TextRetrievalMode? Julian Outlook and VBA 1 October 12th 07 06:00 PM
Getting View Range DENNIS BROWN Outlook and VBA 1 September 4th 07 10:04 PM
OH YES I THINK THEY DID CALL MR BUT I DID NOT TALK TO THEM MY MAMA SAI CALL HER BACK LATER CUZ SHE IS DOING SOMETHG RIGHT NOW WHY DID YOU CALL ME NO THEIR IS ONLY ONE ME YES SIR Outlook Express 0 February 25th 07 08:12 AM
Double vs Single line spacing copy paste Outlook 2003 to/from Text Editors JDJ Outlook - General Queries 0 December 21st 06 08:06 PM


All times are GMT +1. The time now is 05:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.