ActiveDocument.Scripts Example

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to display a message in a MsgBox. Certain words must be BOLD and
Underlined. I am having trouble with individuals not reading their messages!

I know this can be done with ActiveDocument.Scripts, but I cannot figure out
how to use it.

Example Message: "You can ONLY obtain this STATISTIC from the Department
of Education, Indianapolis or Phoenix Office!"

I need the word ONLY Underlined and in Bold and the word STATISTIC
underlined.

Can anyone show me an example of how to do this.

Thanx in advance

Tony Zine
 
Hi Tony,

This cannot be done with a messagebox, or with a standard textbox or
label on an Access form. I'm not certain what you have in mind when you
mention ActiveDocument.Scripts, because Access doesn't expose an
ActiveDocument property or use the Scripts collection.

If the message doesn't vary, you could create a bitmap image of it and
display that on a form. Otherwise you'll need to use a form with a rich
text control (e.g. Total Access Memo from www.fmsinc.com or the free one
from www.lebans.com).
 
Back
Top