<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss"  xmlns:media="http://search.yahoo.com/mrss/">
<channel>
	<title><![CDATA[SWJUG-RING: 図面でExcel部品表をマクロで非表示にしたい]]></title>
	<link>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84</link>
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84</guid>
	<pubDate>Tue, 02 Dec 2025 11:45:50 +0900</pubDate>
	<link>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84</link>
	<title><![CDATA[図面でExcel部品表をマクロで非表示にしたい]]></title>
	<description><![CDATA[<p>すみませんどうしても分からなくて投稿しました。</p><p>図面でExcel部品表を挿入してあるのですが、これを非表示にするのは、部品表直接か、ツリーアイテムで右クリック&rarr;非表示で出来るのは分かりました。</p><p>これをVBAマクロで実行するにはどういう風にすればいいかが、調べてもも分からなかったです。</p><p>どなたかご存じの方がいらっしゃいましたら教えていただけないかと思います。</p><p>すみませんがよろしくお願いします。</p>]]></description>
	<dc:creator>佐藤和巳</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84#item-annotation-229028</guid>
	<pubDate>Fri, 05 Dec 2025 16:58:35 +0900</pubDate>
	<link>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84#item-annotation-229028</link>
	<title><![CDATA[佐藤和巳 さんが付けたコメント]]></title>
	<description><![CDATA[<p>山本さんコメントありがとうございます。</p>
<p>Featureで取得できたという情報ありがとうございます。</p>
<p>英語のメニューにして、部品表を右クリックしたときの非表示の英語は、"Hide&rdquo;だったので、なにかこれに関係したパラメータとかあればいいのですが&hellip;。</p>]]></description>
	<dc:creator>佐藤和巳</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84#item-annotation-229026</guid>
	<pubDate>Fri, 05 Dec 2025 16:42:15 +0900</pubDate>
	<link>http://swjug.org/blog/view/524279/%E5%9B%B3%E9%9D%A2%E3%81%A7excel%E9%83%A8%E5%93%81%E8%A1%A8%E3%82%92%E3%83%9E%E3%82%AF%E3%83%AD%E3%81%A7%E9%9D%9E%E8%A1%A8%E7%A4%BA%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84#item-annotation-229026</link>
	<title><![CDATA[山本誠 さんが付けたコメント]]></title>
	<description><![CDATA[<p>非表示にすることはできませんでしたが、Excel部品表のFeatureオブジェクト取得までは出来ました。<br>（適当に書いたのでいろいろ改善の余地はあるとはおもいますが...）<br>あとは、ここから何とか非表示にまで持っていけると良いけど、<br>部品表を非表示にするためのメソッドかプロパティは不明です。<br><br>Dim swApp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;As SldWorks.SldWorks<br>Dim swModel&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;As SldWorks.ModelDoc2<br><br>Sub main()<br><br>&nbsp; &nbsp; Set swApp = Application.SldWorks<br>&nbsp; &nbsp; Set swModel = swApp.ActiveDoc<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; Dim swFearureMng As SldWorks.FeatureManager<br>&nbsp; &nbsp; Set swFearureMng = swModel.FeatureManager<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; Dim objFeatures As Variant<br>&nbsp; &nbsp; Dim lngFeatureCount As Long<br>&nbsp; &nbsp; objFeatures = swFearureMng.GetFeatures(False)<br>&nbsp; &nbsp; lngFeatureCount = swFearureMng.GetFeatureCount(False)<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; Dim i As Long<br>&nbsp; &nbsp; Dim iFeatures As SldWorks.Feature<br>&nbsp; &nbsp; Dim iFeatureName As String<br>&nbsp; &nbsp; For i = 0 To lngFeatureCount - 1<br>&nbsp; &nbsp; &nbsp; &nbsp; Set iFeatures = objFeatures(i)<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; iFeatureName = iFeatures.Name<br>&nbsp; &nbsp; &nbsp; &nbsp; If iFeatureName = "部品表1" Then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Call iFeatures.SetSuppression2(swFeatureSuppressionAction_e.swSuppressFeature, swInConfigurationOpts_e.swAllConfiguration, "")<br>&nbsp; &nbsp; &nbsp; &nbsp; End If<br>&nbsp; &nbsp; Next<br><br>End Sub<br><br></p>]]></description>
	<dc:creator>山本誠</dc:creator>
</item>

</channel>
</rss>