Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement,microsoft.public.officedev,microsoft.public.activex,microsoft.public.office.developer.automation
RomanP
 
Posts: n/a
Default The Tools/Customize command is greyed out

I have MS Word 2003 embedded into ActiveX and then into HTML page in
IE. Word has "Customize..." menu item greyed out and it can not be
activated by:

CommandBars("Menu
Bar").Controls("Tools").Controls("&Customize..."). Enabled = True
(it does not set 'Enabled' at whole)

or
CommandBars.DisableCustomize = false;
(it is already 'false').

It seems, that ActiveX as container for Word makes this menu item
disabled. Excel as container for Word does not make "Customize"
disabled.

What is the trick here?

Regards,

Roman Prytkov

  #2   Report Post  
Posted to microsoft.public.officedev,microsoft.public.office.developer.automation,microsoft.public.word.docmanagement
R_PR
 
Posts: n/a
Default The Tools/Customize command is greyed out

I tried following approaches with Word automation to make Tools/Customize
enabled (this is pseudo-code, illustrating approach):

1) CommandBars("Menu
Bar").Controls("Tools").Controls("&Customize..."). Enabled = true
2) WordBasic.ToolsCustomize()
3) CommandBars("Menu Bar").Controls("Tools").Protection = msoBarNoProtection
4) CommandBars("Menu Bar").Controls("Tools").DisableCustomize = False

nothing of these works. I tried them steps by steps, controlling the access
and return results - they works till the final point - "Tools/Customize"
remains disabled.

The same behavior Word demonstrates when it is embedded into Excel or
TestContainer (tstcon32.exe).

What makes "Tools/Customize" disabled - is it common for OLE containers and
is it possible to activate it?
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Styles and formatting task bar - "Select all" greyed out W2003 PeterMcC Formatting Long Documents 4 March 29th 06 09:44 PM
The Tools/Customize command is greyed out George F Microsoft Word Help 3 December 16th 05 11:40 PM
Autoshapes is greyed out, how can I insert a 3-d image? erika Microsoft Word Help 1 December 11th 05 04:57 PM
Word - Insert Auto Text greyed out Hamish McLean New Users 5 July 13th 05 03:03 AM
Word status bar greyed out alisdan Microsoft Word Help 1 January 25th 05 06:16 AM


All times are GMT +1. The time now is 02:33 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"