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

I have set up an email to send from Excel. I would like the values from
the Excel sheet that appear in the body of the email to be in bold and
possibly in a larger font. Any help would be much appreciated.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Format text in Outlook from Excel

On Sat, 25 Oct 2003 06:09:46 -0400, Scampa7
wrote in
microsoft.public.excel.programming:

I have set up an email to send from Excel. I would like the values from
the Excel sheet that appear in the body of the email to be in bold and
possibly in a larger font. Any help would be much appreciated.


In which format does the Outlook message get composed? In Plaint Text,
you're obviously out of luck.

If HTML, you need to put HTML code into the body, like:
..Body = .Body & "<B" & curAmountDue & "</B"

I've never used RTF, but I suspect you would have to do the same thing:
..Body = .Body & "{\b" & curAmountDue & "}"

--
Michael Bednarek
http://mcmbednarek.tripod.com/ "POST NO BILLS"

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Format text in Outlook from Excel

Thanks Michael - I was in plain text!, but now have changed to HTML and
"<b" works.

I am not familiar with HTML script, and I wondered how to insert a tab,
ie equivalent of vbTab in plain text in HTML.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Format text in Outlook from Excel

On Sat, 25 Oct 2003 09:47:07 -0400, Scampa7
wrote in
microsoft.public.excel.programming:

Thanks Michael - I was in plain text!, but now have changed to HTML and
"<b" works.

I am not familiar with HTML script, and I wondered how to insert a tab,
ie equivalent of vbTab in plain text in HTML.


I don't think HTML knows about TAB characters; in fact, one principle of
HTML rendering is that consecutive whitespace is treated as a single
space. There is the tag of <SPACER TYPE= SIZE=, but that does not align
text the way TABS do.

The usual method is to construct a table:
<TABLE
<TR<TDData cell 1<TDData cell 2
<TR<TDData cell 3<TDData cell 4
</TABLE

--
Michael Bednarek
http://mcmbednarek.tripod.com/ "POST NO BILLS"

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Format text in Outlook from Excel

Thanks again Michael - I thought I had this one sorted as I had tried
out inserting the HTML codes in the sub routines at home, where I have
Office 2000 and all worked fine. But at work we are still on Office 97
and I have found that you can't send HTML code from Excel 97. I would
have tried RTF but have not discovered how to send the email that way.
I guess it may be impossible to send an email from Excel with formatted
text, but incase there is a solution........



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Format text in Outlook from Excel

On Wed, 29 Oct 2003 05:01:22 -0500, Scampa7
wrote in
microsoft.public.excel.programming:

Thanks again Michael - I thought I had this one sorted as I had tried
out inserting the HTML codes in the sub routines at home, where I have
Office 2000 and all worked fine. But at work we are still on Office 97
and I have found that you can't send HTML code from Excel 97. I would
have tried RTF but have not discovered how to send the email that way.
I guess it may be impossible to send an email from Excel with formatted
text, but incase there is a solution........


Sorry, but I know nothing about Excel 97/Outlook 97.

--
Michael Bednarek, Brisbane, Australia
http://mcmbednarek.tripod.com/ "POST NO BILLS"
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
Importing Text from Outlook into Excel Daren Excel Discussion (Misc queries) 5 October 12th 08 12:55 PM
Copying Data from Excel to MS Outlook in Plain Text Mode JohnGuts Excel Worksheet Functions 0 July 30th 06 09:57 PM
Can I bring an address from Outlook to a text box in Excel? beckye Excel Discussion (Misc queries) 0 January 6th 06 02:20 PM
Pasting Text from Outlook into 1 Excel cell giantwolf Excel Discussion (Misc queries) 3 September 29th 05 01:56 PM
Stop excel emedding (opeing in mail format) when outlook is open. Help Hey New Users to Excel 1 April 26th 05 02:29 PM


All times are GMT +1. The time now is 03:35 PM.

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"