Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Emailing an Excel Worksheet


I am using this macro.

Sub Hill()


Range("A1").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("Sheet2").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=True


End Sub


I would like the macro to send the sheet in the body of the email as plain
text.

Is this possible ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Emailing an Excel Worksheet

hi
see this site
http://www.rondebruin.nl/sendmail.htm

also see this code.
sheets("sheet1").activate
Range("A1").Select
Range("A1", Range("A1").End(xlToRight).End(xlDown)).Copy
Sheets("sheet2").Activate
Range("A1").PasteSpecial xlPasteValues

does the same as yours. a bit cleaner.

Regards
FSt1

"carl" wrote:


I am using this macro.

Sub Hill()


Range("A1").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("Sheet2").Select
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=True


End Sub


I would like the macro to send the sheet in the body of the email as plain
text.

Is this possible ?

Thank you in advance.

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
How do I enable emailing a worksheet in Excel? Roger Fulton Excel Worksheet Functions 6 September 6th 06 09:39 PM
emailing excel worksheet with data protected? sewsew8591 New Users to Excel 2 July 11th 06 07:39 PM
Emailing an excel worksheet JoAnn Paules [MVP] Excel Discussion (Misc queries) 1 January 2nd 06 11:52 PM
Emailing worksheet Craig Excel Discussion (Misc queries) 2 September 12th 05 05:52 PM
Emailing an Excel worksheet Kathy K. Excel Discussion (Misc queries) 1 April 17th 05 04:20 PM


All times are GMT +1. The time now is 02:06 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"