{"id":5343,"date":"2015-02-25T10:25:16","date_gmt":"2015-02-25T01:25:16","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5343"},"modified":"2015-02-25T10:40:45","modified_gmt":"2015-02-25T01:40:45","slug":"vba%e6%a1%81%e3%82%92%e6%8f%83%e3%81%88%e3%81%a6debug-print%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5343","title":{"rendered":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/CallMeKohei\" title=\"kohei(@CallMeKohei)\u3055\u3093 | Twitter\" target=\"_blank\">@CallMeKohei<\/a>\u3055\u3093\u306e<a href=\"http:\/\/callmekohei.hatenablog.com\/\" title=\"\u5b9a\u6642\u306b\u30ab\u30a8\u30ebVBA\" target=\"_blank\">\u30d6\u30ed\u30b0<\/a>\u306e\u8a18\u4e8b\u306b\u300c<a href=\"http:\/\/callmekohei.hatenablog.com\/entry\/2015\/02\/24\/171209\" title=\"Excel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01 - \u5b9a\u6642\u306b\u30ab\u30a8\u30ebVBA\" target=\"_blank\">Excel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01<\/a>\u300d\u3068\u3044\u3046\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305f\u3057\u304b\u306b\u3001\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8 \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3067\u304d\u305f\u3089\u898b\u3084\u3059\u304f\u3066\u4fbf\u5229\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u65e9\u901f\u7c21\u5358\u306a\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub Sample()\r\n  Dim v As Variant\r\n \r\n  v = Array(&quot;abcde&quot;, _\r\n            &quot;\u3042\u3044\u3046&quot;, _\r\n            &quot;123&quot;, _\r\n            &quot;\u6771\u4eac\u90fd\u845b\u98fe\u533a&quot;, _\r\n            &quot;a&quot;)\r\n  DebugPrintPadRight v\r\n  v = Array(&quot;\u5317\u6d77\u9053\u7db2\u8d70\u5e02\u7a32\u5bcc&quot;, _\r\n            &quot;&quot;, _\r\n            &quot;abcdefghijkl&quot;, _\r\n            &quot;\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053&quot;, _\r\n            &quot;0123456789&quot;)\r\n  DebugPrintPadRight v\r\nEnd Sub\r\n\r\nPublic Sub DebugPrintPadRight(ByVal ary As Variant, _\r\n                              Optional ByVal max_size As Long = 30)\r\n  Dim tmp As String, ret As String\r\n  Dim n As Long, i As Long\r\n \r\n  For i = LBound(ary) To UBound(ary)\r\n    n = LenB(StrConv(ary(i), vbFromUnicode))\r\n    If max_size &lt; n Then n = max_size\r\n    tmp = StrConv(LeftB(StrConv(ary(i) &amp; Space(max_size - n), vbFromUnicode), max_size), vbUnicode)\r\n    If i = LBound(ary) Then\r\n      ret = tmp\r\n    Else\r\n      ret = ret &amp; vbTab &amp; tmp\r\n    End If\r\n  Next\r\n  Debug.Print ret\r\nEnd Sub<\/pre>\n<p>\u4e0a\u8a18Sample\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u6587\u5b57\u5217\u306e\u982d\u304c\u63c3\u3063\u305f\u72b6\u614b\u3067Debug.Print\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_01.jpg\" alt=\"DebugPrintPad_01\" width=\"1019\" height=\"89\" class=\"alignnone size-full wp-image-5345\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_01.jpg 1019w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_01-300x26.jpg 300w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/a><\/p>\n<p>\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u5358\u7d14\u3067\u3001\u6587\u5b57\u5217\u306e\u304a\u5c3b\u306b\u7a7a\u767d\u3092\u304f\u3063\u4ed8\u3051\u3066\u3001\u6307\u5b9a\u3057\u305f\u30d0\u30a4\u30c8\u6570\u3067\u982d\u304b\u3089\u5207\u308a\u51fa\u3059\u3068\u3044\u3046\u3001\u3088\u304f\u3042\u308b\u30d1\u30c7\u30a3\u30f3\u30b0(\u57cb\u3081)\u51e6\u7406\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u65e5\u672c\u8a9e\u3092\u6271\u3046\u5834\u5408\u3060\u3068\u3001\u534a\u89d2\u6587\u5b57\u3068\u5168\u89d2\u6587\u5b57\u304c\u6df7\u5728\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u300c<a href=\"http:\/\/www.moug.net\/tech\/exvba\/0140023.html\" title=\"\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u53d6\u5f97\u3059\u308b(Len\/LenB\u95a2\u6570)\uff1aExcel VBA\uff5c\u5373\u52b9\u30c6\u30af\u30cb\u30c3\u30af\uff5cExcel VBA\u3092\u5b66\u3076\u306a\u3089moug\" target=\"_blank\">\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u53d6\u5f97\u3059\u308b(Len\/LenB\u95a2\u6570)\uff1aExcel VBA\uff5c\u5373\u52b9\u30c6\u30af\u30cb\u30c3\u30af<\/a>\u300d\u306b\u3042\u308b\u3088\u3046\u306a\u65b9\u6cd5\u3067\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u3092\u4e00\u3064\u4e00\u3064\u6307\u5b9a\u3059\u308b\u3068\u51e6\u7406\u304c\u9762\u5012\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u306e\u306f\u914d\u5217\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u914d\u5217\u3092\u6e21\u3057\u3066\u3001\u307e\u3068\u3081\u3066Debug.Print\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306bCollection\u306b\u5165\u308c\u3066\u30eb\u30fc\u30d7\u3092\u56de\u305b\u3070\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample2()\r\n  Dim colAry As VBA.Collection\r\n  Dim i As Long\r\n  \r\n  Dim ary1 As Variant\r\n  Dim ary2 As Variant\r\n  Dim ary3 As Variant\r\n  Dim ary4 As Variant\r\n  Dim ary5 As Variant\r\n  Dim ary6 As Variant\r\n  \r\n  ary1 = Array(&quot;\u3042\u3044\u3046&quot;, &quot;abc&quot;, &quot;\u5317\u6d77\u9053&quot;, &quot;123456789&quot;)\r\n  ary2 = Array(&quot;\u304b\u304d\u304f\u3051\u3053&quot;, &quot;abcdefghjiklmn&quot;, &quot;&quot;)\r\n  ary3 = Array(&quot;&quot;, &quot;abcdefghj&quot;, &quot;\u6771\u4eac\u90fd\u65b0\u5bbf\u533a&quot;, &quot;012&quot;)\r\n  ary4 = Array(&quot;\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d&quot;, &quot;ab&quot;, &quot;123456789&quot;)\r\n  ary5 = Array(&quot;\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082&quot;)\r\n  ary6 = Array(&quot;\u3042\u304b\u3055\u305f\u306a\u306f\u307e\u3084\u3089\u308f&quot;, &quot;aiueokakikukekosashishuseso&quot;, &quot;\u6c96\u7e04\u770c\u90a3\u8987\u5e02&quot;, &quot;012345678901234567890123456789&quot;)\r\n  \r\n  Set colAry = New VBA.Collection\r\n  colAry.Add ary1\r\n  colAry.Add ary2\r\n  colAry.Add ary3\r\n  colAry.Add ary4\r\n  colAry.Add ary5\r\n  colAry.Add ary6\r\n  \r\n  For i = 1 To colAry.Count\r\n    DebugPrintPadRight colAry(i), 10\r\n  Next\r\nEnd Sub<\/pre>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_02.jpg\" alt=\"DebugPrintPad_02\" width=\"367\" height=\"132\" class=\"alignnone size-full wp-image-5346\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_02.jpg 367w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_02-300x108.jpg 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>\u30b7\u30f3\u30d7\u30eb\u306a\u51e6\u7406\u3067\u3059\u306e\u3067\u3001\u5b9f\u969b\u306b\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u4f7f\u3046\u969b\u306b\u306f\u3001\u81ea\u5206\u306e\u597d\u307f\u306b\u5408\u308f\u305b\u3066\u9069\u5f53\u306b\u5909\u66f4\u3057\u3066\u304a\u4f7f\u3044\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001Web\u691c\u7d22\u3057\u305f\u3068\u3053\u308d\u3001\u6d77\u5916\u306e\u30b5\u30a4\u30c8\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306aWeb\u30da\u30fc\u30b8\u3082\u898b\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbVBA Tips &#038; Tricks: Aligning Text Output in Variables<\/strong><br \/>\n<a href=\"http:\/\/vbadud.blogspot.jp\/2007\/04\/aligning-text-output-in-variables.html\" title=\"VBA Tips &#038; Tricks: Aligning Text Output in Variables\" target=\"_blank\">http:\/\/vbadud.blogspot.jp\/2007\/04\/aligning-text-output-in-variables.html<\/a><\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">LSet<\/span>\u3084<span style=\"color: #ff0000; font-weight: bold;\">RSet<\/span>\u3092\u4f7f\u3046\u65b9\u6cd5\u3001\u3053\u308c\u3082\u3068\u3066\u3082\u9762\u767d\u3044\u65b9\u6cd5\u3067\u3059\u306d\uff01<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">2015\/02\/25 \u8ffd\u8a18\uff1a<\/span><br \/>\n\u304a\u5c3b\u3092\u7a7a\u767d\u3067\u57cb\u3081\u3066\u982d\u304b\u3089\u5207\u308a\u51fa\u3059\u51e6\u7406\u3092\u66f8\u3044\u3066\u304a\u3044\u3066\u3001\u9006\u306b\u982d\u3092\u7a7a\u767d\u3067\u57cb\u3081\u3066\u304a\u5c3b\u304b\u3089\u5207\u308a\u51fa\u3059\u51e6\u7406\u304c\u306a\u3044\u306e\u306f\u5c3b\u5207\u308c\u30c8\u30f3\u30dc\u3060\u3063\u305f\u306e\u3067\u3001\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample3()\r\n  Dim colAry As VBA.Collection\r\n  Dim i As Long\r\n  \r\n  Dim ary1 As Variant\r\n  Dim ary2 As Variant\r\n  Dim ary3 As Variant\r\n  Dim ary4 As Variant\r\n  Dim ary5 As Variant\r\n  Dim ary6 As Variant\r\n  \r\n  ary1 = Array(&quot;\u3042\u3044\u3046&quot;, &quot;abc&quot;, &quot;\u5317\u6d77\u9053&quot;, &quot;123456789&quot;)\r\n  ary2 = Array(&quot;\u304b\u304d\u304f\u3051\u3053&quot;, &quot;abcdefghjiklmn&quot;, &quot;&quot;)\r\n  ary3 = Array(&quot;&quot;, &quot;abcdefghj&quot;, &quot;\u6771\u4eac\u90fd\u65b0\u5bbf\u533a&quot;, &quot;012&quot;)\r\n  ary4 = Array(&quot;\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d&quot;, &quot;ab&quot;, &quot;123456789&quot;)\r\n  ary5 = Array(&quot;\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082&quot;)\r\n  ary6 = Array(&quot;\u3042\u304b\u3055\u305f\u306a\u306f\u307e\u3084\u3089\u308f&quot;, &quot;aiueokakikukekosashishuseso&quot;, &quot;\u6c96\u7e04\u770c\u90a3\u8987\u5e02&quot;, &quot;012345678901234567890123456789&quot;)\r\n  \r\n  Set colAry = New VBA.Collection\r\n  colAry.Add ary1\r\n  colAry.Add ary2\r\n  colAry.Add ary3\r\n  colAry.Add ary4\r\n  colAry.Add ary5\r\n  colAry.Add ary6\r\n  \r\n  For i = 1 To colAry.Count\r\n    DebugPrintPadLeft colAry(i), 20\r\n  Next\r\nEnd Sub\r\n\r\nPublic Sub DebugPrintPadLeft(ByVal ary As Variant, _\r\n                             Optional ByVal max_size As Long = 30)\r\n  Dim tmp As String, ret As String\r\n  Dim n As Long, i As Long\r\n \r\n  For i = LBound(ary) To UBound(ary)\r\n    n = LenB(StrConv(ary(i), vbFromUnicode))\r\n    If max_size &lt; n Then n = max_size\r\n    tmp = StrConv(RightB(Space(max_size - n) &amp; StrConv(ary(i), vbFromUnicode), max_size), vbUnicode)\r\n    If i = LBound(ary) Then\r\n      ret = tmp\r\n    Else\r\n      ret = ret &amp; vbTab &amp; tmp\r\n    End If\r\n  Next\r\n  Debug.Print ret\r\nEnd Sub<\/pre>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_03.jpg\" alt=\"DebugPrintPad_03\" width=\"668\" height=\"120\" class=\"alignnone size-full wp-image-5348\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_03.jpg 668w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/DebugPrintPad_03-300x54.jpg 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>\u5f15\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u53f3\u57cb\u3081\u5de6\u57cb\u3081\u3092\u5207\u308a\u66ff\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3082\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u305f\u3057\u304b\u306b\u3001\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8 \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3067\u304d\u305f\u3089\u898b\u3084\u3059\u304f\u3066\u4fbf\u5229\u304b [&hellip;]","protected":false},"author":1,"featured_media":7111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":".@CallMeKohei \u3055\u3093\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b( http:\/\/j.mp\/1FVyxWJ )\u304b\u3089\u30cd\u30bf\u3092\u52dd\u624b\u306b\u304a\u501f\u308a\u3057\u307e\u3057\u305f\u3002 [[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002]","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},"jetpack_post_was_ever_published":false},"categories":[4,48,49,58],"tags":[],"class_list":["post-5343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-word-office","category-powerpoint"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u304d\u306c\u3042\u3055\"\/>\n\t<meta name=\"google-site-verification\" content=\"xy7uchdGM1SE5sADlVsdekXridA1vSaVWceffSwnE48\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ka-net.org\/blog\/?p=5343\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u521d\u5fc3\u8005\u5099\u5fd8\u9332 | Power Automate for desktop\u3084Microsoft Office\u958b\u767a\u306e\u60c5\u5831\u304c\u6e80\u8f09\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" \/>\n\t\t<meta property=\"og:description\" content=\"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ka-net.org\/blog\/?p=5343\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-02-25T01:25:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-02-25T01:40:45+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" \/>\n\t\t<meta name=\"twitter:description\" content=\"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#article\",\"name\":\"[VBA]\\u6841\\u3092\\u63c3\\u3048\\u3066Debug.Print\\u3059\\u308b\\u3002 | \\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"headline\":\"[VBA]\\u6841\\u3092\\u63c3\\u3048\\u3066Debug.Print\\u3059\\u308b\\u3002\",\"author\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/wp-content\\\/uploads\\\/eyecatch-Excel.png\",\"width\":790,\"height\":480},\"datePublished\":\"2015-02-25T10:25:16+09:00\",\"dateModified\":\"2015-02-25T10:40:45+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#webpage\"},\"articleSection\":\"Office\\u95a2\\u9023, Excel, Word, PowerPoint\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ka-net.org\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=4#listItem\",\"name\":\"Office\\u95a2\\u9023\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=4#listItem\",\"position\":2,\"name\":\"Office\\u95a2\\u9023\",\"item\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=48#listItem\",\"name\":\"Excel\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=48#listItem\",\"position\":3,\"name\":\"Excel\",\"item\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=48\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#listItem\",\"name\":\"[VBA]\\u6841\\u3092\\u63c3\\u3048\\u3066Debug.Print\\u3059\\u308b\\u3002\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=4#listItem\",\"name\":\"Office\\u95a2\\u9023\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#listItem\",\"position\":4,\"name\":\"[VBA]\\u6841\\u3092\\u63c3\\u3048\\u3066Debug.Print\\u3059\\u308b\\u3002\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?cat=48#listItem\",\"name\":\"Excel\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#organization\",\"name\":\"\\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"description\":\"Power Automate for desktop\\u3084Microsoft Office\\u958b\\u767a\\u306e\\u60c5\\u5831\\u304c\\u6e80\\u8f09\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?author=1#author\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?author=1\",\"name\":\"\\u304d\\u306c\\u3042\\u3055\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1c6237fc3012b3da1f36fa6435b2ccea656e2ff69a51f709c7d8352c69356dc3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u304d\\u306c\\u3042\\u3055\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#webpage\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343\",\"name\":\"[VBA]\\u6841\\u3092\\u63c3\\u3048\\u3066Debug.Print\\u3059\\u308b\\u3002 | \\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"description\":\"@CallMeKohei\\u3055\\u3093\\u306e\\u30d6\\u30ed\\u30b0\\u306e\\u8a18\\u4e8b\\u306b\\u300cExcel VBA \\u30a4\\u30df\\u30c7\\u30a3\\u30a8\\u30a4\\u30c8\\u30a6\\u30a4\\u30f3\\u30c9\\u30a6\\u3067\\u6574\\u5217\\uff01\\u300d\\u3068\\u3044\\u3046\\u8a18\\u4e8b\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/wp-content\\\/uploads\\\/eyecatch-Excel.png\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343\\\/#mainImage\",\"width\":790,\"height\":480},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=5343#mainImage\"},\"datePublished\":\"2015-02-25T10:25:16+09:00\",\"dateModified\":\"2015-02-25T10:40:45+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/\",\"name\":\"\\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"description\":\"Power Automate for desktop\\u3084Microsoft Office\\u958b\\u767a\\u306e\\u60c5\\u5831\\u304c\\u6e80\\u8f09\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b","canonical_url":"https:\/\/www.ka-net.org\/blog\/?p=5343","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"xy7uchdGM1SE5sADlVsdekXridA1vSaVWceffSwnE48","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#article","name":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","headline":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002","author":{"@id":"https:\/\/www.ka-net.org\/blog\/?author=1#author"},"publisher":{"@id":"https:\/\/www.ka-net.org\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","width":790,"height":480},"datePublished":"2015-02-25T10:25:16+09:00","dateModified":"2015-02-25T10:40:45+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#webpage"},"isPartOf":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#webpage"},"articleSection":"Office\u95a2\u9023, Excel, Word, PowerPoint"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.ka-net.org\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=4#listItem","name":"Office\u95a2\u9023"}},{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=4#listItem","position":2,"name":"Office\u95a2\u9023","item":"https:\/\/www.ka-net.org\/blog\/?cat=4","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=48#listItem","name":"Excel"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=48#listItem","position":3,"name":"Excel","item":"https:\/\/www.ka-net.org\/blog\/?cat=48","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#listItem","name":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=4#listItem","name":"Office\u95a2\u9023"}},{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#listItem","position":4,"name":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ka-net.org\/blog\/?cat=48#listItem","name":"Excel"}}]},{"@type":"Organization","@id":"https:\/\/www.ka-net.org\/blog\/#organization","name":"\u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"Power Automate for desktop\u3084Microsoft Office\u958b\u767a\u306e\u60c5\u5831\u304c\u6e80\u8f09","url":"https:\/\/www.ka-net.org\/blog\/"},{"@type":"Person","@id":"https:\/\/www.ka-net.org\/blog\/?author=1#author","url":"https:\/\/www.ka-net.org\/blog\/?author=1","name":"\u304d\u306c\u3042\u3055","image":{"@type":"ImageObject","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1c6237fc3012b3da1f36fa6435b2ccea656e2ff69a51f709c7d8352c69356dc3?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u304d\u306c\u3042\u3055"}},{"@type":"WebPage","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#webpage","url":"https:\/\/www.ka-net.org\/blog\/?p=5343","name":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b","inLanguage":"ja","isPartOf":{"@id":"https:\/\/www.ka-net.org\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#breadcrumblist"},"author":{"@id":"https:\/\/www.ka-net.org\/blog\/?author=1#author"},"creator":{"@id":"https:\/\/www.ka-net.org\/blog\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","@id":"https:\/\/www.ka-net.org\/blog\/?p=5343\/#mainImage","width":790,"height":480},"primaryImageOfPage":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=5343#mainImage"},"datePublished":"2015-02-25T10:25:16+09:00","dateModified":"2015-02-25T10:40:45+09:00"},{"@type":"WebSite","@id":"https:\/\/www.ka-net.org\/blog\/#website","url":"https:\/\/www.ka-net.org\/blog\/","name":"\u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"Power Automate for desktop\u3084Microsoft Office\u958b\u767a\u306e\u60c5\u5831\u304c\u6e80\u8f09","inLanguage":"ja","publisher":{"@id":"https:\/\/www.ka-net.org\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u521d\u5fc3\u8005\u5099\u5fd8\u9332 | Power Automate for desktop\u3084Microsoft Office\u958b\u767a\u306e\u60c5\u5831\u304c\u6e80\u8f09","og:type":"article","og:title":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","og:description":"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b","og:url":"https:\/\/www.ka-net.org\/blog\/?p=5343","article:published_time":"2015-02-25T01:25:16+00:00","article:modified_time":"2015-02-25T01:40:45+00:00","twitter:card":"summary","twitter:title":"[VBA]\u6841\u3092\u63c3\u3048\u3066Debug.Print\u3059\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","twitter:description":"@CallMeKohei\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u306b\u300cExcel VBA \u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a4\u30f3\u30c9\u30a6\u3067\u6574\u5217\uff01\u300d\u3068\u3044\u3046\u8a18\u4e8b"},"aioseo_meta_data":{"post_id":"5343","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-24 07:11:17","updated":"2022-09-14 03:31:23","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1ob","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5343","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=5343"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5343\/revisions"}],"predecessor-version":[{"id":5350,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5343\/revisions\/5350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7111"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}