{"id":2346,"date":"2012-10-22T13:22:51","date_gmt":"2012-10-22T04:22:51","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2346"},"modified":"2013-08-19T14:12:43","modified_gmt":"2013-08-19T05:12:43","slug":"%e3%83%89%e3%83%a9%e3%83%83%e3%82%b0%e3%83%89%e3%83%ad%e3%83%83%e3%83%97%e3%81%a7excel%e3%81%ae%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3%e3%82%92%e7%99%bb%e9%8c%b2%e3%81%99%e3%82%8bvbscript","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2346","title":{"rendered":"\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript"},"content":{"rendered":"<p>\u300c<a href=\"\/\/www.ka-net.org\/other\/ot11.html\" title=\"\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\" target=\"_blank\">\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)<\/a>\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc\u4f50\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u30b3\u30fc\u30c9\u306f\u3001<\/p>\n<ol type=\"1\">\n<li>Excel\u306e\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u3092\u53d6\u5f97<\/li>\n<li>\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3055\u308c\u305f\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092Excel\u306e\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc<\/li>\n<li>\u30b3\u30d4\u30fc\u3057\u305f\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u767b\u9332<\/li>\n<\/ol>\n<p>\u3068\u3044\u3063\u305f\u4f5c\u696d\u3092\u81ea\u52d5\u7684\u306b\u884c\u3044\u307e\u3059\u3002<br \/>\n\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\u5148\u3092\u5909\u66f4\u3057\u305f\u3044\u3001\u8907\u6570\u306e\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u6642\u306b\u767b\u9332\u3057\u305f\u3044\u3001\u3068\u3044\u3063\u305f\u5834\u5408\u306b\u306f\u3001\u9069\u5f53\u306b\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3066\u3054\u4f7f\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nInstallAddIn()\r\nIf MsgBox(&quot;\u51e6\u7406\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002&quot; &amp; vbCrLf &amp; &quot;Excel\u3092\u4eca\u3059\u3050\u8d77\u52d5\u3057\u307e\u3059\u304b\uff1f&quot;, vbYesNo) = vbYes Then _\r\nCreateObject(&quot;WScript.Shell&quot;).Run &quot;EXCEL.EXE&quot;, 1, False\r\n\r\nPublic Sub InstallAddIn()\r\n  Dim Args\r\n  Dim SourceFilePath\r\n  Dim AddInFileName\r\n  Dim AddInFilePath\r\n  Dim AddInFolderPath\r\n  Dim Wb\r\n  Const MsgTitle = &quot;Excel\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u767b\u9332\u30b9\u30af\u30ea\u30d7\u30c8&quot;\r\n  \r\n  Set Args = WScript.Arguments\r\n  If Args.Count &lt; 1 Then\r\n    MsgBox &quot;Excel\u306b\u767b\u9332\u3057\u305f\u3044\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3092&quot; &amp; vbCrLf &amp; _\r\n           &quot;\u5f53\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u3066&quot; &amp; vbCrLf &amp; _\r\n           &quot;\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, 16, MsgTitle\r\n    Exit Sub\r\n  ElseIf Args.Count &gt; 1 Then\r\n    MsgBox &quot;\u5f53\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u4e00\u5ea6\u306b\u51e6\u7406\u3067\u304d\u308b\u306e\u306f1\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u3067\u3059\u3002&quot; &amp; vbCrLf &amp; _\r\n           &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, 16, MsgTitle\r\n    Exit Sub\r\n  End If\r\n  With CreateObject(&quot;Scripting.FileSystemObject&quot;)\r\n    Select Case LCase(.GetExtensionName(Args(0)))\r\n      Case &quot;xla&quot;, &quot;xlam&quot;\r\n        AddInFileName = .GetFileName(Args(0))\r\n        SourceFilePath = Args(0)\r\n      Case Else\r\n        MsgBox &quot;Excel\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002&quot; &amp; vbCrLf &amp; &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, 16, MsgTitle\r\n        Exit Sub\r\n    End Select\r\n  End With\r\n  Set Args = Nothing\r\n  \r\n  '\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8d77\u52d5\u30c1\u30a7\u30c3\u30af\r\n  If ChkApp Then\r\n    MsgBox &quot;Excel\u304c\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002&quot; &amp; vbCrLf &amp; &quot;Excel\u3092\u7d42\u4e86\u3057\u3066\u304b\u3089\u518d\u5ea6\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;, 16, MsgTitle\r\n    Exit Sub\r\n  End If\r\n  \r\n  '\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u53d6\u5f97\r\n  AddInFolderPath = GetUserLibraryPath()\r\n  If Len(AddInFolderPath) &lt; 1 Then\r\n    MsgBox &quot;\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002&quot;, 16, MsgTitle\r\n    Exit Sub\r\n  End If\r\n  If Right(AddInFolderPath, 1) &lt;&gt; &quot;\\&quot; Then AddInFolderPath = AddInFolderPath &amp; &quot;\\&quot;\r\n  AddInFilePath =  AddInFolderPath &amp; AddInFileName\r\n  \r\n  '\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\r\n  On Error Resume Next\r\n  With CreateObject(&quot;Scripting.FileSystemObject&quot;)\r\n    If .FolderExists(AddInFolderPath) &lt;&gt; True Then\r\n      MsgBox &quot;\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002&quot;, 16, MsgTitle\r\n      Exit Sub\r\n    End If\r\n    If .FileExists(AddInFilePath) Then\r\n      MsgBox &quot;\u3059\u3067\u306b&#x5B;&quot; &amp; AddInFilePath &amp; &quot;]\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002&quot; &amp; vbCrLf &amp; _\r\n             &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, 16, MsgTitle\r\n      Exit Sub\r\n    End If\r\n    .CopyFile SourceFilePath, AddInFolderPath, True '\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc(\u4e0a\u66f8\u304d)\r\n  End With\r\n  \r\n  '\u30a2\u30c9\u30a4\u30f3\u306e\u767b\u9332\r\n  With CreateObject(&quot;Excel.Application&quot;)\r\n    .Visible = True\r\n    Set Wb = .Workbooks.Add()\r\n    .AddIns.Add(AddInFilePath).Installed = True\r\n    Wb.Close False\r\n    .Quit\r\n  End With\r\n  If Err.Number &lt;&gt; 0 Then\r\n    MsgBox &quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot; &amp; vbCrLf &amp; &quot;\u30a8\u30e9\u30fc\u5185\u5bb9 : &quot; &amp; Err.Description, 16, MsgTitle\r\n    Err.Clear\r\n    Exit Sub\r\n  End If\r\n  On Error GoTo 0\r\nEnd Sub\r\n\r\n'\u30a2\u30c9\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u53d6\u5f97\r\nPrivate Function GetUserLibraryPath()\r\n  Dim ret\r\n  \r\n  ret = &quot;&quot; '\u521d\u671f\u5316\r\n  On Error Resume Next\r\n  With CreateObject(&quot;Excel.Application&quot;)\r\n    .Visible = False\r\n    ret = .UserLibraryPath\r\n    .Quit\r\n  End With\r\n  Err.Clear\r\n  On Error GoTo 0\r\n  GetUserLibraryPath = ret\r\nEnd Function\r\n\r\n'Excel\u306e\u8d77\u52d5\u30c1\u30a7\u30c3\u30af\r\nPrivate Function ChkApp()\r\n  Dim app, ret\r\n  \r\n  ret = False '\u521d\u671f\u5316\r\n  On Error Resume Next\r\n  Set app = GetObject(, &quot;Excel.Application&quot;)\r\n  Err.Clear\r\n  On Error GoTo 0\r\n  If Not IsEmpty(app) Then ret = True\r\n  ChkApp = ret\r\nEnd Function<\/pre>\n<h4>\u25a0 \u4f7f\u3044\u65b9<\/h4>\n<ol type=\"1\">\n<li>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u30e1\u30e2\u5e33\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/li>\n<li>\u62e1\u5f35\u5b50\u3092\u300c<span style=\"color: #ff0000; font-weight: bold;\">vbs<\/span>\u300d\u306b\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li>Excel\u3092\u7d42\u4e86\u3057\u305f\u72b6\u614b\u3067\u3001\u624b\u98062.\u3067\u4fdd\u5b58\u3057\u305fvbs\u30d5\u30a1\u30a4\u30eb\u306bExcel\u306e\u30a2\u30c9\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb(<span style=\"color: #ff0000; font-weight: bold;\">xla,xlam<\/span>)\u3092\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"\u300c\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc\u4f50\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308b [&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":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[48,4,6],"tags":[139,46],"class_list":["post-2346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-office","category-office","category-vbs","tag-vbs","tag-excel"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u300c\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc\" \/>\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<meta name=\"keywords\" content=\"vbscript,excel\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ka-net.org\/blog\/?p=2346\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.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=\"\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" \/>\n\t\t<meta property=\"og:description\" content=\"\u300c\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ka-net.org\/blog\/?p=2346\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-10-22T04:22:51+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-08-19T05:12:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u300c\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc\" \/>\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=2346#article\",\"name\":\"\\u30c9\\u30e9\\u30c3\\u30b0&\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Excel\\u306e\\u30a2\\u30c9\\u30a4\\u30f3\\u3092\\u767b\\u9332\\u3059\\u308bVBScript | \\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"headline\":\"\\u30c9\\u30e9\\u30c3\\u30b0&#038;\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Excel\\u306e\\u30a2\\u30c9\\u30a4\\u30f3\\u3092\\u767b\\u9332\\u3059\\u308bVBScript\",\"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\":\"2012-10-22T13:22:51+09:00\",\"dateModified\":\"2013-08-19T14:12:43+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346#webpage\"},\"articleSection\":\"Excel, Office\\u95a2\\u9023, VBScript, VBScript, Excel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346#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=2346#listItem\",\"name\":\"\\u30c9\\u30e9\\u30c3\\u30b0&#038;\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Excel\\u306e\\u30a2\\u30c9\\u30a4\\u30f3\\u3092\\u767b\\u9332\\u3059\\u308bVBScript\"},\"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=2346#listItem\",\"position\":4,\"name\":\"\\u30c9\\u30e9\\u30c3\\u30b0&#038;\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Excel\\u306e\\u30a2\\u30c9\\u30a4\\u30f3\\u3092\\u767b\\u9332\\u3059\\u308bVBScript\",\"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=2346#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=2346#webpage\",\"url\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346\",\"name\":\"\\u30c9\\u30e9\\u30c3\\u30b0&\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Excel\\u306e\\u30a2\\u30c9\\u30a4\\u30f3\\u3092\\u767b\\u9332\\u3059\\u308bVBScript | \\u521d\\u5fc3\\u8005\\u5099\\u5fd8\\u9332\",\"description\":\"\\u300c\\u30c9\\u30e9\\u30c3\\u30b0&\\u30c9\\u30ed\\u30c3\\u30d7\\u3067Word\\u306e\\u30c6\\u30f3\\u30d7\\u30ec\\u30fc\\u30c8\\u3092\\u767b\\u9332\\u30fb\\u89e3\\u9664\\u3059\\u308b(VBS)\\u300d\\u3067Word\\u30c6\\u30f3\\u30d7\\u30ec\\u30fc\\u30c8\\u306e\\u767b\\u9332\\u30fb\\u89e3\\u9664\\u3092\\u88dc\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346#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=2346\\\/#mainImage\",\"width\":790,\"height\":480},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ka-net.org\\\/blog\\\/?p=2346#mainImage\"},\"datePublished\":\"2012-10-22T13:22:51+09:00\",\"dateModified\":\"2013-08-19T14:12:43+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":"\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"\u300c\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc","canonical_url":"https:\/\/www.ka-net.org\/blog\/?p=2346","robots":"max-image-preview:large","keywords":"vbscript,excel","webmasterTools":{"google-site-verification":"xy7uchdGM1SE5sADlVsdekXridA1vSaVWceffSwnE48","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#article","name":"\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","headline":"\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript","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":"2012-10-22T13:22:51+09:00","dateModified":"2013-08-19T14:12:43+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#webpage"},"isPartOf":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#webpage"},"articleSection":"Excel, Office\u95a2\u9023, VBScript, VBScript, Excel"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#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=2346#listItem","name":"\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript"},"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=2346#listItem","position":4,"name":"\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript","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=2346#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=2346#webpage","url":"https:\/\/www.ka-net.org\/blog\/?p=2346","name":"\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","description":"\u300c\u30c9\u30e9\u30c3\u30b0&\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc","inLanguage":"ja","isPartOf":{"@id":"https:\/\/www.ka-net.org\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#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=2346\/#mainImage","width":790,"height":480},"primaryImageOfPage":{"@id":"https:\/\/www.ka-net.org\/blog\/?p=2346#mainImage"},"datePublished":"2012-10-22T13:22:51+09:00","dateModified":"2013-08-19T14:12:43+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":"\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","og:description":"\u300c\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc","og:url":"https:\/\/www.ka-net.org\/blog\/?p=2346","article:published_time":"2012-10-22T04:22:51+00:00","article:modified_time":"2013-08-19T05:12:43+00:00","twitter:card":"summary","twitter:title":"\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Excel\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u767b\u9332\u3059\u308bVBScript | \u521d\u5fc3\u8005\u5099\u5fd8\u9332","twitter:description":"\u300c\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3067Word\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u767b\u9332\u30fb\u89e3\u9664\u3059\u308b(VBS)\u300d\u3067Word\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u767b\u9332\u30fb\u89e3\u9664\u3092\u88dc"},"aioseo_meta_data":{"post_id":"2346","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:02:04","updated":"2022-09-14 06:08:04","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-BQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2346","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=2346"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2346\/revisions"}],"predecessor-version":[{"id":3438,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2346\/revisions\/3438"}],"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=2346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}