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 » Search Forums
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Showing results 1 to 9 of 9
Search took 0.06 seconds.
Search: Posts made by: JW
Forum: Outlook and VBA December 22nd 07, 06:56 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Yes. As I said, all combinations of message format and editor
don't produce an olEditorWord.

"Dmitry Streblechenko" wrote in message...
Forum: Outlook and VBA December 22nd 07, 04:23 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Do you mean like:

If Not olSInsp.WordEditor Is Nothing Then
Set wdDoc = olSInsp.WordEditor
wdDoc.Characters(1).InsertBefore Join(sLines, vbNewLine)
& " " & vbNewLine
End...
Forum: Outlook and VBA December 21st 07, 08:02 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Hi Dmitry,

I thought I had to use RTFSelText instead of SelText because it
seemed logical that RTFSelText goes with the RTFEditor, and the
one bit of example code from you I found...
Forum: Outlook and VBA December 21st 07, 11:32 AM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

As I said, the case where olSInsp.EditorType = olEditorHTML is
working, so your question about replacing DoEvents in that part
of the code doesn't really apply. It's when VBA thinks the...
Forum: Outlook and VBA December 21st 07, 12:53 AM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

I've now got the olHTMLEditor part working, but the olRTFEditor
part (using Redemption RTFEditor) isn't inserting any text. This
case statement is arrived at when processing a message created...
Forum: Outlook and VBA December 20th 07, 01:43 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Yes, Outlook is using the Word 2003 editor. I turned it off as
you said, however exactly the same error still occurs at:

olSInsp.SelText = sText

Your mention of asynchronous gave me the idea...
Forum: Outlook and VBA December 18th 07, 02:38 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

It isn't crashing at olSMailItem.GetInspector. It's crashing at
olSInsp.SelText = sText

In any case, I call olSMailItem.Display which opens the mail
message before inserting the text, so the...
Forum: Outlook and VBA December 17th 07, 11:49 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Hi,

It's called manually by me clicking Tools - Macro and running
Remove_Attachments.

When I run it, the only Outlook window open is the main Outlook
window.

Thanks,
Forum: Outlook and VBA December 17th 07, 04:04 PM Posted to microsoft.public.outlook.program_vba
Replies: 16
Views: 3,098
Posted By JW
Redemption insert text - Run-time error '-2147467259 (80004005)' Unspecified Error

Hi,

Outlook 2003 SP3, Windows XP Pro SP2.

I've written the VBA code below to remove attachments from the
selected email(s) and insert a list of the filenames removed at
the top of the message...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT +1. The time now is 06:27 PM.


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.