{"id":5552,"date":"2015-04-23T16:58:51","date_gmt":"2015-04-23T07:58:51","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5552"},"modified":"2015-10-02T14:14:01","modified_gmt":"2015-10-02T05:14:01","slug":"vbe%e7%94%a8%e3%81%aecom%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3%e3%82%92%e3%83%a1%e3%83%a2%e5%b8%b3%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5552","title":{"rendered":"VBE\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u3092\u30e1\u30e2\u5e33\u3067\u4f5c\u3063\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p><em>\u201cOffice\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u3092Visual Studio\u3092\u4f7f\u308f\u305a\u306b\u958b\u767a\u3059\u308b\u201d<\/em>\u3068\u3044\u3046\u5185\u5bb9\u306e\u8a18\u4e8b\u3092\u3001\u3053\u308c\u307e\u3067\u3044\u304f\u3064\u304b\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5517\" target=\"_blank\" title=\"\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002\">\/\/www.ka-net.org\/blog\/?p=5517<\/a><\/li>\n<li>VBA\u304b\u3089\u6271\u3048\u308bDLL\u3092C#\u3067\u66f8\u3044\u3066\u307f\u308b\u3002<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5464\" target=\"_blank\" title=\"VBA\u304b\u3089\u6271\u3048\u308bDLL\u3092C#\u3067\u66f8\u3044\u3066\u307f\u308b\u3002\">\/\/www.ka-net.org\/blog\/?p=5464<\/a><\/li>\n<li>SharpDevelop\u3067Excel\u7528COM\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5309\" target=\"_blank\" title=\"SharpDevelop\u3067Excel\u7528COM\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\">\/\/www.ka-net.org\/blog\/?p=5309<\/a><\/li>\n<\/ul>\n<p>\u958b\u767a\u52b9\u7387\u3084\u751f\u7523\u6027\u306f\u3068\u3082\u304b\u304f\u3068\u3057\u3066\u3001\u3084\u308a\u65b9\u3055\u3048\u5206\u304b\u308c\u3070<span style=\"color: #ff0000; font-weight: bold;\">\u30e1\u30e2\u5e33\u3060\u3051\u3067\u3082COM\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/span>\u308f\u3051\u3067\u3059\u304c\u3001\u4f5c\u308c\u308b\u306e\u306f\u4f55\u3082Office\u7528\u306e\u30a2\u30c9\u30a4\u30f3\u306b\u9650\u3063\u305f\u8a71\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>VBA\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u74b0\u5883\u3001Visual Basic Editor(VBE)\u7528\u306e\u30a2\u30c9\u30a4\u30f3\u3082\u30e1\u30e2\u5e33\u3060\u3051\u3067\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001<span style=\"color: #ff0000; font-weight: bold;\">\u524d\u6642\u4ee3\u7684\u306aVBE\u3092.NET\u306e\u529b\u3067\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/span>\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u306e\u305f\u3081\u306e\u624b\u9806\u3092\u30b6\u30c3\u30af\u30ea\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/li>\n<p>\u307e\u305a\u306f\u9069\u5f53\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u30fbMyVbeAddIn.cs<\/strong><\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">namespace MyVbeAddIn{\r\n    using System;\r\n    using System.Windows.Forms;\r\n    using System.Runtime.InteropServices;\r\n    using Extensibility;\r\n    using Office = Microsoft.Office.Core;\r\n    using VBIDE = Microsoft.Vbe.Interop;\r\n    \r\n    \/\/Guid\u306f\u8981\u5909\u66f4\r\n    &#x5B;ComVisible(true), Guid(&quot;F2D6539C-8F17-488D-A176-02DAB959823A&quot;), ProgId(&quot;MyVbeAddIn.Connect&quot;)]\r\n    public class Connect : Object, Extensibility.IDTExtensibility2{\r\n        private VBIDE.VBE app;\r\n        private Office.CommandBar cmdBar;\r\n        private Office.CommandBarButton cmdBtn;\r\n        \r\n        public Connect(){}\r\n        \r\n        public void OnConnection(object application, ext_ConnectMode ConnectMode, object AddInInst, ref System.Array custom){\r\n            app = ((VBIDE.VBE) application);\r\n            cmdBar = app.CommandBars.Add(&quot;MyCommandBar&quot;, Office.MsoBarPosition.msoBarFloating, false, true);\r\n            cmdBtn = (Office.CommandBarButton)cmdBar.Controls.Add(Office.MsoControlType.msoControlButton, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing);\r\n            cmdBtn.Caption = &quot;My Button&quot;;\r\n            cmdBtn.FaceId = 59;\r\n            cmdBtn.Click += new Office._CommandBarButtonEvents_ClickEventHandler(cmdBtn_Click);\r\n            cmdBar.Visible = true;\r\n        }\r\n        \r\n        public void cmdBtn_Click(Office.CommandBarButton ctrl, ref bool cancel){\r\n            try{\r\n                app.ActiveCodePane.CodeModule.InsertLines(1, &quot;'Hello World!!&quot;);\r\n            }catch (Exception){\r\n                MessageBox.Show(&quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot;, &quot;Error&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);\r\n            }\r\n        }\r\n        \r\n        public void OnDisconnection(ext_DisconnectMode RemoveMode, ref System.Array custom){\r\n            if(cmdBtn != null){\r\n              Marshal.ReleaseComObject(cmdBtn);\r\n              cmdBtn = null;\r\n            }\r\n            if(cmdBar != null){\r\n              cmdBar.Delete();\r\n              Marshal.ReleaseComObject(cmdBar);\r\n              cmdBar = null;\r\n            }\r\n            if(app != null){\r\n              Marshal.ReleaseComObject(app);\r\n              app = null;\r\n            }\r\n            GC.Collect();\r\n            GC.WaitForPendingFinalizers();\r\n        }\r\n        \r\n        public void OnAddInsUpdate(ref System.Array custom){}\r\n        public void OnStartupComplete(ref System.Array custom){}\r\n        public void OnBeginShutdown(ref System.Array custom){}\r\n    }\r\n}<\/pre>\n<p>\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5517\" title=\"\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002<\/a>\u300d\u3068\u9055\u3063\u3066\u3001VBE\u306f\u30ea\u30dc\u30f3UI\u3067\u306f\u7121\u3044\u306e\u3067\u3001\u30c4\u30fc\u30eb\u30d0\u30fc\u304b\u3089\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/li>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u7528\u610f\u3067\u304d\u305f\u3089\u3001\u6b21\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u8a73\u3057\u3044\u624b\u9806\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5517\" title=\"\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><textarea cols=60 rows=5 onclick=\"this.focus();this.select();\">&#34;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe&#34; \/target:library \/out:&#34;C:\\Test\\cs\\MyVbeAddIn.dll&#34; &#34;C:\\Test\\cs\\MyVbeAddIn.cs&#34; \/reference:&#34;C:\\Windows\\assembly\\GAC\\Extensibility\\7.0.3300.0__b03f5f7f11d50a3a\\extensibility.dll&#34; \/reference:&#34;C:\\Windows\\assembly\\GAC_MSIL\\office\\14.0.0.0__71e9bce111e9429c\\OFFICE.DLL&#34; \/reference:&#34;C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Vbe.Interop\\14.0.0.0__71e9bce111e9429c\\Microsoft.Vbe.Interop.dll&#34;<\/textarea><\/p>\n<li>RegAsm\u306b\u3088\u308b\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u767b\u9332<\/li>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u6b21\u306fRegAsm.exe\u3092\u4f7f\u3063\u3066\u3001DLL\u30d5\u30a1\u30a4\u30eb\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><textarea cols=60 rows=2 onclick=\"this.focus();this.select();\">&#34;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\RegAsm.exe&#34; &#34;C:\\Test\\cs\\MyVbeAddIn.dll&#34; \/tlb \/codebase<\/textarea><\/p>\n<li>\u30a2\u30c9\u30a4\u30f3\u3068\u3057\u3066\u767b\u9332<\/li>\n<p>\u6700\u5f8c\u306f\u767b\u9332\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c9\u30a4\u30f3\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u7de8\u96c6\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ad\u30fc\uff1aHKEY_CURRENT_USER\\Software\\Microsoft\\VBA\\VBE\\6.0\\Addins\\MyVbeAddIn.Connect<br \/>\nDescription(REG_SZ)\uff1a\u30b5\u30f3\u30d7\u30ebVBE\u30a2\u30c9\u30a4\u30f3\u3067\u3059\u3002<br \/>\nFriendlyName(REG_SZ)\uff1aMy VBE AddIn<br \/>\nLoadBehavior(REG_DWORD)\uff1a3 (\u30b9\u30bf\u30fc\u30c8\u6642\u306b\u8aad\u307f\u8fbc\u3080)\n<\/ol>\n<p>\u4ee5\u4e0a\u306e\u4f5c\u696d\u3092\u884c\u3063\u305f\u5f8cVBE\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u65b0\u3057\u304f\u30c4\u30fc\u30eb \u30d0\u30fc\u304c\u4f5c\u6210\u3055\u308c\u3001\u30c4\u30fc\u30eb \u30d0\u30fc\u4e0a\u306e\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">Hello World!!<\/span>\u300d\u3068\u3044\u3046\u30b3\u30e1\u30f3\u30c8\u304c\u30b3\u30fc\u30c9\u306b\u633f\u5165(cmdBtn_Click\u30a4\u30d9\u30f3\u30c8\u306e\u5b9f\u884c)\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Build_VBE_ComAddIn_Notepad_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Build_VBE_ComAddIn_Notepad_01.jpg\" alt=\"Build_VBE_ComAddIn_Notepad_01\" width=\"486\" height=\"277\" class=\"alignnone size-full wp-image-5554\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Build_VBE_ComAddIn_Notepad_01.jpg 486w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Build_VBE_ComAddIn_Notepad_01-300x171.jpg 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<p>\u4ee5\u4e0a\u306e\u624b\u9806\u3067VBE\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u8ca7\u5f31\u306aVBA\u958b\u767a\u74b0\u5883\u306b\u304a\u60a9\u307f\u306e\u65b9\u306f\u3001\u81ea\u5206\u3067\u597d\u304d\u306a\u3088\u3046\u306b\u62e1\u5f35\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<h4 class=\"style4a\">\u53c2\u8003Web\u30b5\u30a4\u30c8<\/h4>\n<ul>\n<li>Visual Basic Editor \u7528\u306e COM \u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/cc376346.aspx\" target=\"_blank\" title=\"Visual Basic Editor \u7528\u306e COM \u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/cc376346.aspx<\/a><\/li>\n<li>\u30a8\u30af\u30bb\u30eb\u30e6\u30fc\u30b6\u306eOffice 2000 Developer\uff0dVBA\u958b\u767a\u652f\u63f4Com\u30a2\u30c9\u30a4\u30f3<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/www.moug.net\/tech\/exvba\/0150060.html\" target=\"_blank\" title=\"\u30a8\u30af\u30bb\u30eb\u30e6\u30fc\u30b6\u306eOffice 2000 Developer\uff0dVBA\u958b\u767a\u652f\u63f4Com\u30a2\u30c9\u30a4\u30f3\">http:\/\/www.moug.net\/tech\/exvba\/0150060.html<\/a><\/li>\n<li>VBE Object (VBA Add-In Object Model) (Visual Basic Add-In Model)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa443984.aspx\" target=\"_blank\" title=\"VBE Object (VBA Add-In Object Model) (Visual Basic Add-In Model)\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa443984.aspx<\/a><\/li>\n<li>\u65b9\u6cd5: Office \u30c4\u30fc\u30eb \u30d0\u30fc\u3092\u4f5c\u6210\u3059\u308b<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/scff9c7c.aspx\" target=\"_blank\" title=\"\u65b9\u6cd5: Office \u30c4\u30fc\u30eb \u30d0\u30fc\u3092\u4f5c\u6210\u3059\u308b\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/scff9c7c.aspx<\/a><\/li>\n<li>Tips and Tricks: Building Microsoft Office Add-ins with Visual C# .NET and Visual Basic .NET<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa289518.aspx\" target=\"_blank\" title=\"Tips and Tricks: Building Microsoft Office Add-ins with Visual C# .NET and Visual Basic .NET\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa289518.aspx<\/a><\/li>\n<li>Chapter 7: Office COM Add-Ins<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa662931.aspx\" target=\"_blank\" title=\"Chapter 7: Office COM Add-Ins\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa662931.aspx<\/a><\/li>\n<li>HOWTO: \u30dc\u30bf\u30f3\u3068 commandbars \u3068\u30c4\u30fc\u30eb\u30d0\u30fc\u3092 Visual Studio .NET \u306b\u30a2\u30c9\u30a4\u30f3\u304b\u3089\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/support.microsoft.com\/ja-jp\/kb\/555326\" target=\"_blank\" title=\"HOWTO: \u30dc\u30bf\u30f3\u3068 commandbars \u3068\u30c4\u30fc\u30eb\u30d0\u30fc\u3092 Visual Studio .NET \u306b\u30a2\u30c9\u30a4\u30f3\u304b\u3089\u8ffd\u52a0\u3057\u307e\u3059\u3002\">https:\/\/support.microsoft.com\/ja-jp\/kb\/555326<\/a><\/li>\n<\/ul>\n<h4 class=\"style4a\">\u304a\u308f\u308a\u306b<\/h4>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3092\u66f8\u304f\u306b\u3042\u305f\u3063\u3066\u3001VBE\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u306e\u958b\u767a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u300c&#8221;Visual Basic Editor&#8221; &#8220;COM\u30a2\u30c9\u30a4\u30f3&#8221; &#8220;\u958b\u767a&#8221;\u300d\u3068\u3044\u3063\u305f\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u691c\u7d22\u3057\u3066\u3082\u3001\u30ed\u30af\u306a\u60c5\u5831\u304c\u51fa\u3066\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u771f\u3063\u5148\u306b\u30d2\u30c3\u30c8\u3057\u305f\u306e\u304c\u300c<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/cc376199.aspx\" title=\"Visual Basic Editor \u7528\u306e COM \u30a2\u30c9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b\" target=\"_blank\">Visual Basic Editor \u7528\u306e COM \u30a2\u30c9\u30a4\u30f3\u3092\u69cb\u7bc9\u3059\u308b<\/a>\u300d\u3060\u3063\u305f\u308f\u3051\u3067\u3059\u304c\u3001Office 2000\u3068\u304b\u4e00\u4f53\u4f55\u5e74\u524d\u3060\u3088\uff01\uff1f\u2026\u3068\u8a00\u3044\u305f\u304f\u306a\u308b\u304f\u3089\u3044\u53e4\u3044\u60c5\u5831\u3067\u3059(\u3067\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f)\u3002<\/p>\n<p>VBE\u7528\u30a2\u30c9\u30a4\u30f3\u958b\u767a\u306e\u9700\u8981\u306e\u7121\u3055\u304c\u3046\u304b\u304c\u3048\u307e\u3059\u306d\u3002<br \/>\n\u6709\u540d\u306a\u300c<a href=\"http:\/\/www.mztools.com\/v3\/download.aspx\" title=\"Download of MZ-Tools 3.0 for Visual Basic 6.0, 5.0 and VBA\" target=\"_blank\">MZ-Tools<\/a>\u300d\u306e\u3088\u3046\u306a\u30a2\u30c9\u30a4\u30f3\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u3089VBE\u7528\u306e\u30a2\u30c9\u30a4\u30f3\u3092\u958b\u767a\u3057\u3088\u3046\uff01\u306a\u3093\u3066\u601d\u3046\u4eba\u306f\u5c11\u306a\u3044\u306e\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u201cOffice\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u3092Visual Studio\u3092\u4f7f\u308f\u305a\u306b\u958b\u767a\u3059\u308b\u201d\u3068\u3044\u3046\u5185\u5bb9\u306e\u8a18\u4e8b\u3092\u3001\u3053\u308c\u307e\u3067\u3044\u304f\u3064\u304b\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u3002 \u30e1\u30e2\u5e33\u3060\u3051\u3067Outlook\u7528\u30a2\u30c9\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002 \/\/www.ka- [&hellip;]","protected":false},"author":1,"featured_media":3430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u8ca7\u5f31\u306aVBE\u3092.NET\u306e\u529b\u3067\u62e1\u5f35\u62e1\u5f35\u3063\uff01 [VBE\u7528\u306eCOM\u30a2\u30c9\u30a4\u30f3\u3092\u30e1\u30e2\u5e33\u3067\u4f5c\u3063\u3066\u307f\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}},"categories":[4],"tags":[],"class_list":["post-5552","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eye-catchOffice-VBA.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1ry","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5552","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=5552"}],"version-history":[{"count":5,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5552\/revisions"}],"predecessor-version":[{"id":6258,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5552\/revisions\/6258"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/3430"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}