Not without knowing something about the macro or add-in that is raising the
error (it's not a built-in Word error). At a guess, you have some sloppy
code that is making assumptions about the display mode that you are in when
the document opens, which assumption is wrong if Word is opened from
Outlook.
To diagnose the problem: cause the error, then with the error message box
displayed, press Ctrl-Break before clicking OK. If the error is in a macro,
you should get a message about "Code was interrupted" -- switch to VBA and
you should be within the function that caused the error. (Won't work if the
error is in an add-in that is not open.)
> Hi All,
> I have been getting an error message when I open a Word file within an
> email, the message is
> (Run-time error '4605' command not available).
> Can anyone help me to stop this happening?
> TIA John D.
John Davidson - 23 Feb 2005 21:49 GMT
Hi Jezebel ,
Thanks for your reply, I have not had much time to work on this lately
but eventually got to look at it. You were spot on, I had this line of
code in the global macro that seemed to be causing the problem.
"Application.DisplayStatusBar = True"
John D.
>Not without knowing something about the macro or add-in that is raising the
>error (it's not a built-in Word error). At a guess, you have some sloppy
[quoted text clipped - 19 lines]
>
>