{"id":10782,"date":"2018-09-04T12:15:33","date_gmt":"2018-09-04T03:15:33","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=10782"},"modified":"2018-09-04T14:13:19","modified_gmt":"2018-09-04T05:13:19","slug":"%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%95%e3%82%8c%e3%81%9f%e3%83%95%e3%82%a9%e3%83%b3%e3%83%88%e3%81%ae%e4%b8%80%e8%a6%a7%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8bvba","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=10782","title":{"rendered":"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d5\u30a9\u30f3\u30c8\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u6700\u8fd1\u81ea\u5206\u306e\u5468\u308a\u3067PowerPoint VBA\u304c\u6d41\u884c\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u3001\u65b0\u3057\u3044\u8a18\u4e8b\u3092\u30b0\u30b0\u3063\u305f\u3068\u3053\u308d\u3001<a href=\"http:\/\/chemiphys.hateblo.jp\/\" title=\"Powerpoint VBA\u3092\u4f7f\u304a\u3046!\" target=\"_blank\">chemiphys\u6c0f\u306e\u30d6\u30ed\u30b0<\/a>\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><div class=\"lkc-unlink\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=chemiphys.hateblo.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">Powerpoint VBA\u3092\u4f7f\u304a\u3046!<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/http%3A%2F%2Fchemiphys.hateblo.jp%2Fentry%2F2018%2F09%2F03%2F%28%25E3%2583%25BB%25E3%2583%25BB%3F?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Entry is not found - Powerpoint VBA\u3092\u4f7f\u304a\u3046!<\/div><div class=\"lkc-url\" title=\"http:\/\/chemiphys.hateblo.jp\/entry\/2018\/09\/03\/(%E3%83%BB%E3%83%BB?\"><strike>http:\/\/chemiphys.hateblo.jp\/entry\/2018\/09\/03\/(\u30fb\u30fb?<\/strike><\/div><div class=\"lkc-excerpt\">Powerpoint VBA\u3084Excel\u306eVBA\u3067\u904a\u3093\u3067\u3044\u307e\u3059\u3002JavaScript\u3084JScript,HTA\u306b\u6700\u8fd1\u306f\u307e\u3063\u3066\u307e\u3059\u3002<\/div><\/div><div class=\"clear\"><\/div><\/div><\/div><\/div><\/div>\n<p>PowerPoint\u3067\u306f\u30d5\u30a9\u30f3\u30c8\u9078\u629e\u306e\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u304b\u3089\u30d5\u30a9\u30f3\u30c8\u3092\u53d6\u5f97\u3067\u304d\u306a\u3044\u554f\u984c\u306b\u3064\u3044\u3066\u66f8\u304b\u308c\u3066\u3044\u3066\u3001\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u3001\u305f\u3057\u304b\u306bListCount\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u300c0\u300d\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u4e2d\u8eab\u306f\u4f55\u3082\u7121\u3055\u305d\u3046\u3067\u3059\u3002<br \/>\n(\u4f59\u8ac7\u3067\u3059\u304c\u3001\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\u306e\u64cd\u4f5c\u3092\u3059\u308b\u5834\u5408\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3067\u6307\u5b9a\u3059\u308b\u3088\u308a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u4f9d\u5b58\u3057\u306a\u3044ID\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u3092\u304a\u85a6\u3081\u3057\u307e\u3059\u3002)<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample01()\r\n  Dim cb As CommandBarComboBox\r\n  \r\n  Set cb = Application.CommandBars.FindControl(Id:=1728) '\u30d5\u30a9\u30f3\u30c8\r\n  Debug.Print &quot;ListCount:&quot; &amp; cb.ListCount\r\nEnd Sub<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_01.jpg\" alt=\"\" width=\"501\" height=\"225\" class=\"alignnone size-full wp-image-10783\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_01.jpg 501w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_01-300x135.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_01-500x225.jpg 500w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\n<p>\u5ff5\u306e\u305f\u3081\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\u306b\u8ffd\u52a0\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u3084\u306f\u308a\u4e2d\u8eab\u306f\u3059\u3063\u304b\u3089\u304b\u3093\u3067\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample02()\r\n  With Application.CommandBars.Add(Position:=msoBarPopup, Temporary:=True)\r\n    .Controls.Add Id:=1728, Temporary:=True '\u30d5\u30a9\u30f3\u30c8\r\n    .ShowPopup\r\n    .Delete\r\n  End With\r\nEnd Sub<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_02.jpg\" alt=\"\" width=\"562\" height=\"178\" class=\"alignnone size-full wp-image-10784\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_02.jpg 562w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_02-300x95.jpg 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\u306fOffice 2003\u4ee5\u524d\u306e\u30ec\u30ac\u30b7\u30fc\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3059\u306e\u3067\u3001\u51e6\u7406\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3044\u3066\u3082\u4e0d\u601d\u8b70\u3067\u306f\u306a\u304f\u3001\u3080\u3057\u308d\u9006\u306b\u3001\u30b3\u30de\u30f3\u30c9\u30d0\u30fc\u304b\u3089\u30d5\u30a9\u30f3\u30c8\u304c\u53d6\u5f97\u3067\u304d\u308bExcel\u3084Word\u306e\u65b9\u304c\u304a\u304b\u3057\u3044\u3068\u3044\u3063\u3066\u3082\u904e\u8a00\u3067\u306f\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3042\u308b\u30ea\u30dc\u30f3\u4e0a\u306e\u300c\u30d5\u30a9\u30f3\u30c8\u300d\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u304b\u3089\u3001UI Automation\u3084MSAA\u3092\u4f7f\u3063\u3066\u30d5\u30a9\u30f3\u30c8\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u6050\u3089\u304f\u3067\u304d\u307e\u3059\u304c\u3001\u51e6\u7406\u304c\u8907\u96d1\u306b\u306a\u308b\u305f\u3081\u3001\u3042\u307e\u308a\u304a\u85a6\u3081\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u304b\u3089\u53d6\u5f97\u3059\u308b\u306e\u3067\u306f\u306a\u3044\u3001\u5168\u304f\u5225\u306e\u65b9\u6cd5\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub ListInstallFonts()\r\n  Dim itm As Object\r\n  Const CSIDL_FONTS = 20\r\n  \r\n  With CreateObject(&quot;Shell.Application&quot;).Namespace(CSIDL_FONTS)\r\n    For Each itm In .Items\r\n      Debug.Print .GetDetailsOf(itm, 8)\r\n    Next\r\n  End With\r\nEnd Sub<\/pre>\n<p>\u3068\u3044\u3063\u3066\u3082\u4ed5\u7d44\u307f\u306f\u5358\u7d14\u3067\u3001NameSpace\u30e1\u30bd\u30c3\u30c9\u3067Fonts\u30d5\u30a9\u30eb\u30c0\u3092\u53d6\u5f97\u3057\u3001\u4e2d\u306b\u3042\u308b\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089GetDetailsOf\u30e1\u30bd\u30c3\u30c9\u3067\u30d5\u30a1\u30df\u30ea\u30fc\u540d\u3092\u629c\u304d\u51fa\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_03.jpg\" alt=\"\" width=\"495\" height=\"324\" class=\"alignnone size-full wp-image-10785\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_03.jpg 495w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/VBA_GetFontList_03-300x196.jpg 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3067\u53d6\u5f97\u3067\u304d\u308b\u306e\u306f\u3001\u3042\u304f\u307e\u3067\u3082\u7aef\u672b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8\u3060\u3051\u3067\u3001\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u4e0a\u3067\u8868\u793a\u3055\u308c\u308b\u30af\u30e9\u30a6\u30c9\u30d5\u30a9\u30f3\u30c8(\u300c\u9078\u629e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8)\u306f\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u5927\u4f53\u306e\u7528\u9014\u306b\u306f\u4f7f\u7528\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"\u6700\u8fd1\u81ea\u5206\u306e\u5468\u308a\u3067PowerPoint VBA\u304c\u6d41\u884c\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u3001\u65b0\u3057\u3044\u8a18\u4e8b\u3092\u30b0\u30b0\u3063\u305f\u3068\u3053\u308d\u3001chemiphys\u6c0f\u306e\u30d6\u30ed\u30b0\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002 PowerPoint\u3067\u306f\u30d5\u30a9\u30f3\u30c8\u9078\u629e\u306e\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9\u304b\u3089\u30d5\u30a9\u30f3\u30c8\u3092 [&hellip;]","protected":false},"author":1,"featured_media":7120,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d5\u30a9\u30f3\u30c8\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,48,49,58],"tags":[],"class_list":["post-10782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-word-office","category-powerpoint"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeVBA.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-2NU","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10782"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10782\/revisions"}],"predecessor-version":[{"id":10786,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10782\/revisions\/10786"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7120"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}