We help IT Professionals succeed at work.

underlining text in an email using VBS.

uconnfb13
uconnfb13 asked
on
Medium Priority
462 Views
Last Modified: 2008-07-03
Experts,
I create an email using vbs, an access db and the outlook client.  I have an automated text email, and I just build a long string and have returns and tabs etc, using Chr(13),chr(10), chr(9), etc.  However, is there something I can do to underline text.  Right now I just do a bunch of ---------, but that looks really bad.  Is there a way to underline text in my string without using --------?  Any help is much appreciated.

Thanks,
Mike
Comment
Watch Question

if the e-mail being sent is html format you can try embedding html tags:


<u>Text to be underlined goes here</u>

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Top Expert 2006
Commented:
Whats your vbs code so far, which method r u using, CDO? Outlook Auto? Have u tried setting HTMLBody (depends on what u use though)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.