Macro Suddenly Not Working

P

PlarfySoober

I have a macro I have been using for weeks to produce an email with some
highlighted text. Today, it throws an error message. The error has survived a
reboot, and I have had to comment out all the font color changes.

The location of the error is:

Selection.TypeText Text:= _
"Our interview hours are Mon.-Fri., 5:00pm."
Selection.TypeText Text:="Please confirm any date "
Selection.Font.Color = wdColorRed

The error is follows the color command and the command does not complete:

Run-time error ‘4605':
This command is not available.

This little letter has been used over and over again, and now it stops. I
looked at other macros in the list, and none of them will get beyond a color
change.

What can I do to get back to normal?

Thanks.

Don.
MS Office 2003
 
R

Roady [MVP]

Depends on your version of Outlook. My guess is that you are using Outlook
2003 or previous and have switched your email editor either from Word to
Outlook or the other way around;
Tools-> Options-> tab Mail Format
 
P

PlarfySoober

Roady,

Thanks for replying. Whether you were right or not (you were right about
Outlook 2003), just as suddenly it started recognizing the format commands
mentioned, without any changes by me.

Don.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top