Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Outlook Small Question

I have managed to add a macro in excel that automatically sends email
from excel using

http://www.rondebruin.nl/sendmail.htm

However, Can someone please tell me how I add new paragraphs in th
body of the email.

I want it to say in the body:


"Please find attached"

"Kind regards

"name"

I can't seem to edit .body correctly - anybody got any suggestions?

Thank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Outlook Small Question

check out the following file- Be aware later versions of office (pos
2k) have problems sending the e-mails so i have introduced a manua
send.

'Excel Index' (http://uk.geocities.com/duncankarran/excel-index.html


And go to the training mailer.

Duncan
soon to be 'excel.duncan-fiona.co.uk
(http://www.excel.duncan-fiona.co.uk

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Outlook Small Question

Thanks but when I download the spreadsheet, I cannot look into the macr
as it permanently asks if the email has been sent and then opens anothe
email!??

Any other suggestions

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel to Outlook Small Question

Go back to Ron's site. He covers about all the options you could want.

--
Regards,
Tom Ogilvy

"twogoodtwo " wrote in message
...
Thanks but when I download the spreadsheet, I cannot look into the macro
as it permanently asks if the email has been sent and then opens another
email!??

Any other suggestions?


---
Message posted from http://www.ExcelForum.com/



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Excel to Outlook Small Question

Like Tom already told you look on the Tips on my site.
http://www.rondebruin.nl/mail/tips2.htm

vbNewLine makes a new line

Dim strbody As String
With ThisWorkbook.Sheets("Sheet1")
strbody = "Hi there" & vbNewLine & vbNewLine & _
.Range("A1") & vbNewLine & _
.Range("A2") & vbNewLine & _
.Range("A3") & vbNewLine & _
.Range("A4")
End With

Change the Body line to .Body = strbody to use the string.


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Tom Ogilvy" wrote in message ...
Go back to Ron's site. He covers about all the options you could want.

--
Regards,
Tom Ogilvy

"twogoodtwo " wrote in message
...
Thanks but when I download the spreadsheet, I cannot look into the macro
as it permanently asks if the email has been sent and then opens another
email!??

Any other suggestions?


---
Message posted from http://www.ExcelForum.com/







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
PivotChart - Small question Helen Excel Discussion (Misc queries) 2 January 28th 09 04:25 PM
One small question... VIVEKMANE Excel Discussion (Misc queries) 3 November 8th 07 02:42 PM
Not an Excel question - where's Outlook Express? ShaneDevenshire Excel Discussion (Misc queries) 2 February 6th 07 07:03 AM
Embedded excel sheet in outlook question??? Shane Excel Discussion (Misc queries) 2 February 6th 06 04:33 PM
easy question on excel/outlook mike0021[_5_] Excel Programming 1 June 17th 04 10:39 PM


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