Hi, I meant it this way .HTMLBody = strbody & vbNewLine & RangetoHTML(rng) & Signature
On Thu, Dec 24, 2009 at 12:27 PM, Vinod N <[email protected]> wrote: > Hi Praveen, > > Do you mean .htmlbody should read as below: > > .HTMLBody = Please clarify the following:" & vbNewLine & RangetoHTML(rng) & > Signature > > or > > .HTMLBody = strbody & vbNewLine & RangetoHTML(rng) & Signature > > If not, please make the necessary changes in macro in the attachment... > > Thanks in advance > > Vinod N > > On Thu, Dec 24, 2009 at 10:53 AM, kvc praveen kumar > <[email protected]>wrote: > >> Hi Vinod, >> >> Can you try using vbnewline in .htmlbody directly instead of using it in >> strbody? >> >> On Wed, Dec 23, 2009 at 10:29 PM, Vinod N <[email protected]> wrote: >> >>> Hi Excel Gurus, >>> >>> In the attached file, the following string is not working >>> >>> strbody = "Please clarify the following:" & vbNewLine >>> >>> Initially, the value for the above string is being populated but when the >>> following is run, the strbody goes missing and only RangetoHTML(rng) is >>> being populated... >>> >>> .HTMLBody = strbody & RangetoHTML(rng) & Signature >>> >>> Please help >>> >>> -- >>> Thanks and Regards >>> >>> Vinod N >>> >>> -- >>> >>> ---------------------------------------------------------------------------------- >>> Some important links for excel users: >>> 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at >>> http://www.excelitems.com >>> 2. Excel tutorials at http://www.excel-macros.blogspot.com >>> 3. Learn VBA Macros at http://www.vbamacros.blogspot.com >>> 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com >>> >>> >>> To post to this group, send email to [email protected] >>> If you find any spam message in the group, please send an email to: >>> Ayush Jain @ [email protected] or >>> Ashish Jain @ [email protected] >>> <><><><><><><><><><><><><><><><><><><><><><> >>> HELP US GROW !! >>> >>> We reach over 6,500 subscribers worldwide and receive many nice notes >>> about the learning and support from the group. Our goal is to have 10,000 >>> subscribers by the end of 2009. Let friends and co-workers know they can >>> subscribe to group at >>> http://groups.google.com/group/excel-macros/subscribe >> >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at >> http://www.excelitems.com >> 2. Excel tutorials at http://www.excel-macros.blogspot.com >> 3. Learn VBA Macros at http://www.vbamacros.blogspot.com >> 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> >> To post to this group, send email to [email protected] >> If you find any spam message in the group, please send an email to: >> Ayush Jain @ [email protected] or >> Ashish Jain @ [email protected] >> <><><><><><><><><><><><><><><><><><><><><><> >> HELP US GROW !! >> >> We reach over 6,500 subscribers worldwide and receive many nice notes >> about the learning and support from the group. Our goal is to have 10,000 >> subscribers by the end of 2009. Let friends and co-workers know they can >> subscribe to group at >> http://groups.google.com/group/excel-macros/subscribe >> > > > > -- > Thanks and Regards > > Vinod N > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at > http://www.excelitems.com > 2. Excel tutorials at http://www.excel-macros.blogspot.com > 3. Learn VBA Macros at http://www.vbamacros.blogspot.com > 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > > To post to this group, send email to [email protected] > If you find any spam message in the group, please send an email to: > Ayush Jain @ [email protected] or > Ashish Jain @ [email protected] > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 6,500 subscribers worldwide and receive many nice notes about > the learning and support from the group. Our goal is to have 10,000 > subscribers by the end of 2009. Let friends and co-workers know they can > subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to [email protected] If you find any spam message in the group, please send an email to: Ayush Jain @ [email protected] or Ashish Jain @ [email protected] <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe
