Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Macro to access Lotus Notes witih attachment -


I have tried Andy Wiggins solution to automatically sending messages to Lotus and it works except for attaching an Excel file. Below is a request I sent to Andy. Does anyone have any ideas on solving this

Andy
Do you have any help for me....I am using LotusNotes and I get your program to work except for attaching files
I generate Error 438 which says Objects doesn't support this method or property....or something like that. Can you help me

-Beverly
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Macro to access Lotus Notes witih attachment -

Beverly,
The following lines are taken from an XL routine which creates email
messages in Lotus Notes.

Dim oItem As Object

Set oItem = oDoc.createrichtextitem("BODY")

oItem.embedObject 1454, "", AttachFile, "mail.rtf"

I think the embedObject command is what you want.
If this doesn't work, I can send the full routine code (BTW, it has been
posted a number of times - you can find it with a Google search).

Regards,
Alex J


"Beverly" wrote in message
...

I have tried Andy Wiggins solution to automatically sending messages to

Lotus and it works except for attaching an Excel file. Below is a request I
sent to Andy. Does anyone have any ideas on solving this.

Andy-
Do you have any help for me....I am using LotusNotes and I get your

program to work except for attaching files.
I generate Error 438 which says Objects doesn't support this method or

property....or something like that. Can you help me?

-Beverly



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
assign a macro to send email in lotus notes from Excel spreadsheet pdaws Excel Worksheet Functions 0 May 6th 10 05:13 PM
Open Lotus Notes with Excel Macro Steve Excel Discussion (Misc queries) 3 April 2nd 09 04:45 PM
Lotus Notes Steve Excel Discussion (Misc queries) 0 February 25th 09 08:27 PM
Lotus Notes - Unable to Copy Paste Special in macro Joe Wildman[_2_] Excel Worksheet Functions 2 February 8th 09 09:43 PM
Sending Excel file as attachment to Lotus Notes mail Simon Lenn Excel Programming 2 December 9th 03 07:47 PM


All times are GMT +1. The time now is 08:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"