Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default email worksheet contents as text

I want to email the contents of a worksheet as if it had been printed, rather
than as an .xls attachment. I don't see anything like this capability in Ron
de Bruin's sendmail tool. Is there some other tool available? The email
client is Outlook Express.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default email worksheet contents as text

You can get a text v ersion of a range with this.

Dim datObj As DataObject

ActiveSheet.UsedRange.Copy

Set datObj = New DataObject
datObj.GetFromClipboard

If datObj.GetFormat(1) = True Then
MsgBox datObj.GetText(1)
End If

NickHK

"pwrichcreek" wrote in message
...
I want to email the contents of a worksheet as if it had been printed,

rather
than as an .xls attachment. I don't see anything like this capability in

Ron
de Bruin's sendmail tool. Is there some other tool available? The email
client is Outlook Express.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default email worksheet contents as text

With Outlook Express you can only do this
http://www.rondebruin.nl/mail/oebody.htm

With Outlook you have more control

Or better use CDO
http://www.rondebruin.nl/cdo.htm





--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"pwrichcreek" wrote in message ...
I want to email the contents of a worksheet as if it had been printed, rather
than as an .xls attachment. I don't see anything like this capability in Ron
de Bruin's sendmail tool. Is there some other tool available? The email
client is Outlook Express.

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
Simple Export of worksheet contents to text-file. haakon Excel Programming 0 January 22nd 07 12:55 PM
How can i email the contents of a userform? Richard[_36_] Excel Programming 4 March 2nd 06 02:33 AM
email worksheet as rich text AndrewB Excel Programming 0 August 25th 05 09:15 PM
Email Range Contents Roy Harrill Excel Programming 3 January 14th 05 09:03 PM
Read Contents of text File into worksheet Steve Roberts Excel Programming 1 November 28th 04 04:57 PM


All times are GMT +1. The time now is 04:57 AM.

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

About Us

"It's about Microsoft Excel"