htmlbody in outlook email vba access

access 2010  vba
outlook 2010

I have an email generating in vba access:

I'm hacing trouble creating a seperate line for tables in the htmlbody

MAILBODY is a table
strhtml = "<HTML><Body><table border='1' width='50%'><tr><th>Sku</th><th>PRODUCT_DESCRIPTION</th><th>QTY</th>" & _
"<th>TARGET_PRICE</th><th>COMPETITOR_PRICE</th><th>TARGET_PRICE_PROFITABILITY</th><th>CURRENT_PRICE</th></tr>"


MAILBODY = "<tr><td>" & rst("SKU") & "</td><td>" & rst("PRODUCT_DESCRIPTION") & "</td><td>" & _
                  rst("QTY") & "</td><td>" & Format(rst("TARGET_PRICE"), "Currency") & "</td><td>" & Format(rst("COMPETITOR_PRICE"), "Currency") & _
                  "</td><td bgcolor=""red"">" & "Not Profitable" & "</td><td>" & Format(rst("CURRENT_PRICE"), "Currency") & "</td></tr>"


and

MAILBODY_NO  is a table
' Skus not being sent
strhtml_no = "<HTML><Body><table border='1' width='50%'><tr><th>Sku</th><th>PRODUCT_DESCRIPTION</th><th>QTY</th>" & _
"<th>TARGET_PRICE</th><th>COMPETITOR_PRICE</th></tr>"



MAILBODY_NO = "<tr><td>" & rst("SKU") & "</td><td>" & rst("PRODUCT_DESCRIPTION") & "</td><td>" & _
                  rst("QTY") & "</td><td>" & Format(rst("TARGET_PRICE"), "Currency") & "</td><td>" & Format(rst("COMPETITOR_PRICE"), "Currency") & "</td></tr>"




       .HTMLBody = mybody & MAILBODY & mybody_split & MAILBODY_NO & mybody3 & user_link_to_approve & user_link_to_reject & mybody2


Problem:
They are meshing together.
I tried doing this adding  <br> but did not work.

       .HTMLBody = mybody & MAILBODY & mybody_split & "<br>  & MAILBODY_NO & "<br>" &   mybody3 & user_link_to_approve & user_link_to_reject & mybody2

Thanks
fordraiders
LVL 3
FordraidersAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FordraidersAuthor Commented:
Figured it out..
              .HTMLBody = mybody & "<table>" & MAILBODY & "</table>" & "<br><br>"
              .HTMLBody = .HTMLBody & mybody_split & "<table>" & MAILBODY_NO & "</table>" & mybody3 & user_link_to_approve & user_link_to_reject & "<br>" & mybody2


fordraiders
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.