drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 528
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and Thanks in advance!
I am using:
in order to paste a range in outlook body (Works Perfect)
But I would like to add a combined range before I use:
SO I woulld like to combine
.body = Range("Range1")
.HTMLBody ="<br><br>" & rangetoHTML(Range("Range2"))
Keeping on Outlooks body both ranges
.Body = Range("Range1")
and after this info the pasted Outlloks Body last empty line, paste a range using:
.HTMLBody ="<br><br><br>" & rangetoHTML(Selection) & "<br><br><br>"
If U use:
.HTMLBod
y = rangetoHTML(range("Range1") & "<br><br><br>" & rangetoHTML(range("Range2")
Range1 does not keep the 10 lines in Outlook, shows only a huge line
Thanks again
I am using:
But I would like to add a combined range before I use:
VBA Code:
With OutMail
.Display 'Nice to see step by step Pasted info
.Subject = "RRF for Vendor Sourcing"
'if I use:
'Range("RangeXXX") 'which Is a combined range were I have usually many lines at present 10
.Body = Range("Range1")
' I get the desired lines on Outlook Body very nice
'Then I would like to paste the selected range or Range2 on the last empty line on Outlooks Body (keeping the pasted info
'I am trying to use
.HTMLBody ="<br><br><br>" & rangetoHTML(Selection)& "<br><br><br>"
'But I lost the pasted info using .body=range("Range1")
end with
.body = Range("Range1")
.HTMLBody ="<br><br>" & rangetoHTML(Range("Range2"))
Keeping on Outlooks body both ranges
- Range1 (the 10 lines)
- a few empty lines & "<br><br><br>"
- Range2
.Body = Range("Range1")
and after this info the pasted Outlloks Body last empty line, paste a range using:
.HTMLBody ="<br><br><br>" & rangetoHTML(Selection) & "<br><br><br>"
If U use:
.HTMLBod
VBA Code:
Range1 does not keep the 10 lines in Outlook, shows only a huge line
Thanks again