<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Disable Popup Menu in MS Office</title>
	<atom:link href="http://www.ocxt.com/archives/87/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ocxt.com/archives/87</link>
	<description>ActiveX document container for hosting Office documents and PDF (including Adobe PDF, Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Project and Microsoft Visio documents)</description>
	<lastBuildDate>Sat, 19 Nov 2011 03:49:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/87#comment-120</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Sun, 09 Nov 2008 01:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/87#comment-120</guid>
		<description>How do I disable the popup menu in the slide show?  or disable copy / print and edit option?

It is the menu number 45; controls from 1 to 8 , that disable all options of the menu displayed with the right click
 
objPPT.application.CommandBars(45).controls(1).enabled=false;    (advance option , first of the menu) 
..
objPPT.application.CommandBars(45).controls(8).enabled=false;</description>
		<content:encoded><![CDATA[<p>How do I disable the popup menu in the slide show?  or disable copy / print and edit option?</p>
<p>It is the menu number 45; controls from 1 to 8 , that disable all options of the menu displayed with the right click</p>
<p>objPPT.application.CommandBars(45).controls(1).enabled=false;    (advance option , first of the menu)<br />
..<br />
objPPT.application.CommandBars(45).controls(8).enabled=false;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/87#comment-85</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/87#comment-85</guid>
		<description>Change the position of the toolbar

Sub AdjustToolbarPos()
objExcel.Application.CommandBars(&quot;clipboard&quot;).Visible = True
objExcel.Application.CommandBars(&quot;clipboard&quot;).Position = msoBarTop
objExcel.Application.CommandBars(&quot;clipboard&quot;).RowIndex = CommandBars(&quot;standard&quot;).RowIndex
objExcel.Application.CommandBars(&quot;clipboard&quot;).Left = CommandBars(&quot;standard&quot;).Left + CommandBars(&quot;standard&quot;).Width
End Sub</description>
		<content:encoded><![CDATA[<p>Change the position of the toolbar</p>
<p>Sub AdjustToolbarPos()<br />
objExcel.Application.CommandBars(&#8220;clipboard&#8221;).Visible = True<br />
objExcel.Application.CommandBars(&#8220;clipboard&#8221;).Position = msoBarTop<br />
objExcel.Application.CommandBars(&#8220;clipboard&#8221;).RowIndex = CommandBars(&#8220;standard&#8221;).RowIndex<br />
objExcel.Application.CommandBars(&#8220;clipboard&#8221;).Left = CommandBars(&#8220;standard&#8221;).Left + CommandBars(&#8220;standard&#8221;).Width<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/87#comment-84</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/87#comment-84</guid>
		<description>How to know the Caption of the menu item in MS Office?

Sub ListAllMenuItems()
For i = 1 To CommandBars.Count
    Selection.TypeText i &amp; &quot;:&quot; &amp; CommandBars(i).Name
    Selection.TypeParagraph
    For a = 1 To CommandBars(i).Controls.Count
        Selection.TypeText &quot;    &quot; &amp; a &amp; &quot;:&quot; &amp; CommandBars(i).Controls(a).Caption
        Selection.TypeParagraph
    Next
Next
End Sub</description>
		<content:encoded><![CDATA[<p>How to know the Caption of the menu item in MS Office?</p>
<p>Sub ListAllMenuItems()<br />
For i = 1 To CommandBars.Count<br />
    Selection.TypeText i &#038; &#8220;:&#8221; &#038; CommandBars(i).Name<br />
    Selection.TypeParagraph<br />
    For a = 1 To CommandBars(i).Controls.Count<br />
        Selection.TypeText &#8221;    &#8221; &#038; a &#038; &#8220;:&#8221; &#038; CommandBars(i).Controls(a).Caption<br />
        Selection.TypeParagraph<br />
    Next<br />
Next<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/87#comment-83</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/87#comment-83</guid>
		<description>Disable the Print command:

objExcel.Application.CommandBars(&quot;menu Bar&quot;).Controls(&quot;&amp;File&quot;).Controls(&quot;&amp;Print...&quot;).Enabled = False</description>
		<content:encoded><![CDATA[<p>Disable the Print command:</p>
<p>objExcel.Application.CommandBars(&#8220;menu Bar&#8221;).Controls(&#8220;&#038;File&#8221;).Controls(&#8220;&#038;Print&#8230;&#8221;).Enabled = False</p>
]]></content:encoded>
	</item>
</channel>
</rss>

