View Single Post
 
Old 03-23-2015, 11:14 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

I take it you mean the same e-mail we have created? In that case locate the line
Code:
Set xlSheet = xlWB.Sheets(strSheet)
and add the line
Code:
xlSheet.UsedRange.Copy
immediately after that line

Then locate the line
Code:
oRng.Text = strMessage
and change that to
Code:
oRng.Text = strMessage & vbCr & vbCr
            oRng.collapse 0
            oRng.Paste
            With oRng.Tables(1)
                'Include any table formatting here e.g.
                .Style = "Table Grid"
            End With
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote