{"id":7021,"date":"2016-05-26T17:11:44","date_gmt":"2016-05-26T08:11:44","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=7021"},"modified":"2016-05-26T17:11:44","modified_gmt":"2016-05-26T08:11:44","slug":"%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e3%83%80%e3%82%a6%e3%83%b3%e3%82%bf%e3%82%a4%e3%83%9e%e3%83%bc%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8bpowerpoint%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=7021","title":{"rendered":"\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u3092\u4f5c\u6210\u3059\u308bPowerPoint\u30de\u30af\u30ed"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.yahoo.co.jp\/kinuyo_asami\/16643457.html\" title=\"[PowerPoint]\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u306e\u4f5c\u6210 ( \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 ) - \u521d\u5fc3\u8005\u5099\u5fd8\u9332 - Yahoo!\u30d6\u30ed\u30b0\" target=\"_blank\">\u5927\u5206\u524d\u306b\u66f8\u3044\u305f\u8a18\u4e8b<\/a>\u306b\u3064\u3044\u3066\u554f\u3044\u5408\u308f\u305b\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3057\u306a\u304a\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3001PowerPoint\u30de\u30af\u30ed\u3067\u3059\u3002<br \/>\n(\u4ed5\u7d44\u307f\u306f\u4e0a\u8a18\u8a18\u4e8b\u306e\u901a\u308a\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u59cb\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002)<\/p>\n<h4 class=\"style4a\">VBA\u30b3\u30fc\u30c9<\/h4>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub btnTimer_onAction(control As IRibbonControl)\r\n  Dim iSec As Variant\r\n  Dim iStep As Variant\r\n  \r\n  iSec = VBA.InputBox(Prompt:=&quot;\u79d2\u6570\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, Default:=120)\r\n  If iSec = &quot;&quot; Or Not IsNumeric(iSec) Then Exit Sub\r\n  iSec = CInt(StrConv(iSec, vbNarrow))\r\n  iStep = VBA.InputBox(Prompt:=&quot;\u9593\u9694\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, Default:=1)\r\n  If iStep = &quot;&quot; Or Not IsNumeric(iStep) Then Exit Sub\r\n  iStep = CInt(StrConv(iStep, vbNarrow))\r\n  CreateCountDownTimer iSec, iStep\r\n  MsgBox &quot;\u51e6\u7406\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002&quot;, vbInformation + vbSystemModal\r\nEnd Sub\r\n\r\nPrivate Sub CreateCountDownTimer(ByVal TargetSec As Integer, _\r\n                                 Optional ByVal TargetStep As Integer = 1, _\r\n                                 Optional ByVal FontName As String = &quot;Meiryo UI&quot;, _\r\n                                 Optional ByVal FontSize As Single = 72)\r\n'\u9078\u629e\u4e2d\u306e\u30b9\u30e9\u30a4\u30c9\u306b\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u4f5c\u6210\r\n  Dim sld As PowerPoint.SlideRange\r\n  Dim d As Date\r\n  Dim i As Long\r\n  \r\n  Select Case ActiveWindow.ViewType\r\n    Case ppViewNormal\r\n      On Error Resume Next\r\n      Set sld = ActiveWindow.Selection.SlideRange\r\n      If Err.Number &lt;&gt; 0 Then\r\n        MsgBox Err.Description, vbCritical + vbSystemModal\r\n        Exit Sub\r\n      End If\r\n      On Error GoTo 0\r\n      For i = TargetSec To 0 Step -TargetStep\r\n        d = CDate(i \\ 3600 &amp; &quot;:&quot; &amp; ((i Mod 3600) \\ 60) &amp; &quot;:&quot; &amp; (i Mod 60))\r\n        With sld.Shapes.AddTextbox(msoTextOrientationHorizontal, 100, 100, 100, 100)\r\n          .Fill.Background\r\n          With .TextFrame2\r\n            With .TextRange\r\n              '\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\r\n              If Len(Trim(FontName)) &gt; 0 Then .Font.Name = FontName\r\n              If FontSize &gt; 0 Then .Font.Size = FontSize\r\n              .ParagraphFormat.Alignment = msoAlignCenter\r\n              .Text = Format(d, &quot;hh:nn:ss&quot;)\r\n            End With\r\n            .WordWrap = False\r\n            .AutoSize = msoAutoSizeNone\r\n            .VerticalAnchor = msoAnchorMiddle\r\n          End With\r\n          '\u56f3\u5f62\u30b5\u30a4\u30ba\u30fb\u4f4d\u7f6e\u8abf\u6574\r\n          .Width = ActivePresentation.PageSetup.SlideWidth\r\n          .Height = ActivePresentation.PageSetup.SlideHeight\r\n          .Select\r\n          With ActiveWindow.Selection.ShapeRange\r\n            .Align msoAlignMiddles, True\r\n            .Align msoAlignCenters, True\r\n          End With\r\n          With .AnimationSettings\r\n            If i = TargetSec Then\r\n              .AdvanceMode = ppAdvanceOnClick\r\n            Else\r\n              .AdvanceMode = ppAdvanceOnTime\r\n            End If\r\n            .AdvanceTime = TargetStep '\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u308b\u307e\u3067\u306e\u6642\u9593\r\n            .EntryEffect = ppEffectAppear\r\n          End With\r\n        End With\r\n      Next\r\n  End Select\r\nEnd Sub<\/pre>\n<h4 class=\"style4a\">\u30ea\u30dc\u30f3XML<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\r\n&lt;customUI xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/2006\/01\/customui&quot;&gt;\r\n  &lt;ribbon&gt;\r\n    &lt;tabs&gt;\r\n      &lt;tab idMso=&quot;TabInsert&quot;&gt;\r\n        &lt;group id=&quot;grpTimer&quot; label=&quot;\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3&quot;&gt;\r\n          &lt;button id=&quot;btnTimer&quot; label=&quot;\u30bf\u30a4\u30de\u30fc\u4f5c\u6210&quot; size=&quot;large&quot; imageMso=&quot;TimeInsert&quot; onAction=&quot;btnTimer_onAction&quot; \/&gt;\r\n        &lt;\/group&gt;\r\n      &lt;\/tab&gt;\r\n    &lt;\/tabs&gt;\r\n  &lt;\/ribbon&gt;\r\n&lt;\/customUI&gt;<\/pre>\n<h4 class=\"style4a\">\u30a2\u30c9\u30a4\u30f3\u5316\u3057\u305f\u30d5\u30a1\u30a4\u30eb<\/h4>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u30a2\u30c9\u30a4\u30f3\u5316\u3057\u305f\u306e\u304c<a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer.ppam\" target=\"_blank\">\u3053\u3061\u3089\u306e\u30d5\u30a1\u30a4\u30eb<\/a>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u30a2\u30c9\u30a4\u30f3\u3092\u8aad\u307f\u8fbc\u3080\u3068\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u633f\u5165<\/span>\u300d\u30bf\u30d6\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3<\/span>\u300d\u30b0\u30eb\u30fc\u30d7\u304c\u4f5c\u6210\u3055\u308c\u3001\u305d\u306e\u4e2d\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30bf\u30a4\u30de\u30fc\u4f5c\u6210<\/span>\u300d\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_01.jpg\" alt=\"CreateCountDownTimer_01\" width=\"596\" height=\"223\" class=\"alignnone size-full wp-image-7023\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_01.jpg 596w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_01-300x112.jpg 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/p>\n<p>\u3053\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30bf\u30a4\u30de\u30fc\u306e\u79d2\u6570\u3068\u9593\u9694\u3092\u8a2d\u5b9a\u3067\u304d\u3001\u9078\u629e\u4e2d\u306e\u30b9\u30e9\u30a4\u30c9\u306b\u81ea\u52d5\u7684\u306b\u30bf\u30a4\u30de\u30fc\u7528\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u633f\u5165\u3055\u308c\u307e\u3059\u3002<br \/>\n(\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u5b9f\u884c\u2192\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u30bf\u30a4\u30de\u30fc\u958b\u59cb\u3067\u3059\u3002)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_02.jpg\" alt=\"CreateCountDownTimer_02\" width=\"429\" height=\"150\" class=\"alignnone size-full wp-image-7024\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_02.jpg 429w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_02-300x105.jpg 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_03.jpg\" alt=\"CreateCountDownTimer_03\" width=\"429\" height=\"150\" class=\"alignnone size-full wp-image-7025\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_03.jpg 429w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_03-300x105.jpg 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/p>\n<p>\u30bf\u30a4\u30de\u30fc\u7528\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306e\u30d5\u30a9\u30f3\u30c8\u3084\u30b5\u30a4\u30ba\u3001\u8272\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\u30b9\u30e9\u30a4\u30c9\u4e0a\u306e\u3059\u3079\u3066\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3059\u308c\u3070\u3001\u4e00\u62ec\u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/CreateCountDownTimer_04.gif\" alt=\"CreateCountDownTimer_04\" width=\"632\" height=\"510\" class=\"alignnone size-full wp-image-7026\" \/><\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30bf\u30a4\u30de\u30fc\u306f\u30b9\u30e9\u30a4\u30c9\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308c\u3070\u5225\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u4f7f\u7528\u3067\u304d\u308b\u305f\u3081\u3001\u306a\u304b\u306a\u304b\u4f7f\u3044\u52dd\u624b\u306f\u826f\u3044\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30bf\u30a4\u30de\u30fc\u306e\u79d2\u6570\u3092\u9577\u304f\u3059\u308b\u307b\u3069\u3001\u9593\u9694\u3092\u77ed\u304f\u3059\u308b\u307b\u3069\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306e\u6570\u304c\u5897\u3048\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u91cd\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u305d\u306e\u70b9\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5927\u5206\u524d\u306b\u66f8\u3044\u305f\u8a18\u4e8b\u306b\u3064\u3044\u3066\u554f\u3044\u5408\u308f\u305b\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3057\u306a\u304a\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002 \u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3001PowerPoint\u30de\u30af\u30ed\u3067\u3059\u3002 (\u4ed5\u7d44\u307f\u306f\u4e0a\u8a18\u8a18\u4e8b\u306e\u901a\u308a\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u59cb\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u5229 [&hellip;]","protected":false},"author":1,"featured_media":7125,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u30bf\u30a4\u30de\u30fc\u3092\u4f5c\u6210\u3059\u308bPowerPoint\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,58],"tags":[],"class_list":["post-7021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-powerpoint"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-PowerPoint.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1Pf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7021","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=7021"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7021\/revisions"}],"predecessor-version":[{"id":7027,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7021\/revisions\/7027"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7125"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}