I am not really following the suggestion.
After I copy the selected ceels into the clipboard:
Sheets("Sheet1").Select
Range("A5:G19").Select
Selection.Copy
You think I should past it into ta new workspace (not sure what you mean)
Then embed that file as an OLE Object, why not just embed the original sheet (not sure how to emnbed it) or the clipboard contents? Basically, I am not following the suggestion. Could you clairy more with some code replacements maybe?
Main Topics
Browse All Topics





by: HemanthaKumarPosted on 2003-10-29 at 11:35:13ID: 9644794
What you can do is to embed the selection as OLE object.
"", Attachment, "Attachment")
("Attachme nt") --- replace it with "BODY"
Once you copy the selected range, paste it into new excel workspace and save it. Then embed that file as OLE object (1453) after the line.
Set EmbedObj = AttachME.EMBEDOBJECT(1454,
Also use Body instead of attachment field name. i.e this line should be
Set AttachME = MailDoc.CREATERICHTEXTITEM
~Hemanth