Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

Run-time error 4605 Command not available

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Davidson - 07 Feb 2005 01:56 GMT
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.
Jezebel - 07 Feb 2005 02:25 GMT
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]
>
>  

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.