Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement,microsoft.public.officedev,microsoft.public.activex,microsoft.public.office.developer.automation
|
|||
|
|||
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
Posted to microsoft.public.officedev,microsoft.public.office.developer.automation,microsoft.public.word.docmanagement
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Styles and formatting task bar - "Select all" greyed out W2003 | Formatting Long Documents | |||
The Tools/Customize command is greyed out | Microsoft Word Help | |||
Autoshapes is greyed out, how can I insert a 3-d image? | Microsoft Word Help | |||
Word - Insert Auto Text greyed out | New Users | |||
Word status bar greyed out | Microsoft Word Help |