{"id":11818,"date":"2025-12-08T16:03:32","date_gmt":"2025-12-08T07:03:32","guid":{"rendered":"https:\/\/www.moonmile.net\/blog\/?p=11818"},"modified":"2026-01-05T22:28:17","modified_gmt":"2026-01-05T13:28:17","slug":"libreoffice-calc-%e3%82%92%e5%a4%96%e9%83%a8%e3%81%8b%e3%82%89-python-%e3%81%a7%e6%93%8d%e4%bd%9c%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/11818","title":{"rendered":"LibreOffice Calc \u3092\u5916\u90e8\u304b\u3089 Python \u3067\u64cd\u4f5c\u3059\u308b"},"content":{"rendered":"\n<p>Microsoft Office 365 \u304c\u5024\u4e0a\u3052\u3092\u3055\u308c\u305f\u306e\u3067\u3001\u7121\u6599\u306e LibreOffice \u306b\u79fb\u884c\u3057\u307e\u3057\u3087\u3046&#8230;\u3063\u3066\u306e\u304c\u6d41\u884c\u3063\u305f\u304c\u3069\u3046\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u307e\u3042\u3001\u3044\u307e\u307e\u3067 Excel \u3067\u4f5c\u3063\u3066\u3044\u305f\u8cc7\u6599\u3092 LibreOffice Calc \u3067\u3046\u307e\u304f\u4f5c\u308c\u308b\u304b\u3069\u3046\u304b\u304c\u554f\u984c\u3067\u3059\u3088\u306d\u3002\u3053\u308c\u306f Google Workspace \u306e Calc \u3067\u3082\u540c\u3058\u554f\u984c\u3092\u62b1\u3048\u308b\u308f\u3051\u3067\u3059\u304c\u3002<\/p>\n\n\n\n<p>\u5168\u4f53\u306e\u64cd\u4f5c\u611f\u306f\u5225\u3068\u3057\u3066\uff08\u500b\u4eba\u7684\u306b\u306f Excel \u304c\u6163\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4ed6\u306e\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u3092\u4f7f\u3046\u306e\u306f\u3061\u3087\u3063\u3068\u907f\u3051\u305f\u3044\u3067\u3059\uff09\u3001\u3044\u307e\u307e\u3067\u4f5c\u3063\u3066\u3044\u305f Excel VBA \u306e\u30de\u30af\u30ed\u3060\u3068\u304b\u3001\u3042\u3089\u305f\u306a Calc \u3067\u3046\u307e\u304f\u79fb\u690d\u3067\u304d\u308b\u306e\u304b\uff1f\u3000\u304c\u554f\u984c\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002\u5b9f\u306f Excel VBA \u306e\u958b\u767a\u74b0\u5883\u3082\u307b\u307c\u5316\u77f3\u306e\u307e\u307e\u3060\u3057\u3001LibreOffice Calc \u306e Basic \u30de\u30af\u30ed\u306e\u958b\u767a\u74b0\u5883\u306f\u5316\u77f3\u307f\u305f\u3044\u306a\u3082\u306e\u3067\u3059\u3002\u73fe\u5728\u306e vscode + copilot \u306e\u3088\u3046\u306a AI \u3092\u4f7f\u3063\u305f\u30b3\u30fc\u30c9\u74b0\u5883\u306b\u6bd4\u3079\u308b\u3068\u3001\u3061\u3087\u3063\u3068\u3053\u306e\u307e\u307e Excel VBA \u3067\u958b\u767a\u306e\u3059\u308b\u306e\u306f\u907f\u3051\u305f\u3044&#8230;\u3068\u3044\u3046\u306e\u304c\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u5fc3\u60c5\u306a\u306e\u3067\u3059\u304c\u3001\u4ffa\u306b\u306f\u3053\u308c\u3057\u304b\u306a\u3044\u3093\u3060\u3001\u3053\u308c\u304c\u4e00\u756a\u306a\u306e\u3060\u3068\u3044\u3046 97\u5f0f\u81ea\u52d5\u5c0f\u9283\u3092\u6301\u3061\u51fa\u3059\u677e\u672c\u96f6\u58eb\u30ad\u30e3\u30e9\u306a\u3089\u3070\u3001\u307e\u3042\u3001\u78ba\u304b\u306b\u305d\u3046\u3067\u3059\u3088\u306d\u3001\u3068\u3082\u8a00\u3048\u306a\u304f\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LibreOffice Calc \u306f Excel VBA \u306e\u4e92\u63db\u74b0\u5883\u306a\u306e\u304b\uff1f<\/h2>\n\n\n\n<p>\u4e00\u898b\u4f5c\u308c\u305d\u3046\u306a\u611f\u3058\u306a\u306e\u3067\u3059\u304c\u3001\u5168\u7136\u3060\u3081\u3067\u3057\u305f\u3002\u5168\u304f\u4e92\u63db\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u304a\u306a\u3058\u307f\u306e Excel VBA \u306e\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001\u3053\u308c\u3092 LibreOffice Calc \u306e Basic \u306b\u30b3\u30d4\u30da\u3057\u3066\u3082\u52d5\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: vb; title: ; notranslate\" title=\"\">\nSub test()\n    Dim sh As Worksheet\n    Set sh = ActiveSheet\n    sh.Cells(1, 1).Value = &quot;\u5897\u7530\u667a\u660e&quot;\nEnd Sub\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25-1024x422.png\" alt=\"\" class=\"wp-image-11819\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25-1024x422.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25-300x124.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25-768x316.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-25.png 1187w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067 ChatGPT \u3067\u30b3\u30f3\u30d0\u30fc\u30c8\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSub test\n    Dim oDoc As Object\n    Dim oSheet As Object\n    Dim oCell As Object\n\n    &#039; \u73fe\u5728\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\n    oDoc = ThisComponent\n\n    &#039; \u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\n    oSheet = oDoc.CurrentController.ActiveSheet\n\n    &#039; A1\u30bb\u30eb\u3092\u53d6\u5f97 (\u884c\u30fb\u5217\u306f0\u59cb\u307e\u308a)\n    oCell = oSheet.getCellByPosition(0, 0)\n\n    &#039; \u5024\u3092\u8a2d\u5b9a\n    oCell.String = &quot;\u5897\u7530\u667a\u660e&quot;\nEnd Sub\n<\/pre><\/div>\n\n\n<p>\u3044\u3084&#8230;\u3053\u308c\u3060\u3068\u7121\u7406\u3067\u3059\u306d\u3002\u8907\u96d1\u306a Excel VBA \u306e\u79fb\u690d\u306f\u5230\u5e95\u7121\u7406\u3060\u3057\u3001\u7c21\u5358\u306a\u95a2\u6570\u3082\u7d50\u69cb\u624b\u9593\u306a\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3089\u305f\u306b Calc \u7528\u306e Basic \u3092\u899a\u3048\u308b\u306e\u306f\u99ac\u9e7f\u99ac\u9e7f\u3057\u3044\u306e\u3067\u3001\u65b0\u898f\u4e00\u8ee2\u3057\u3066 Python \u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LibreOffice \u306b Python \u30a8\u30c7\u30a3\u30bf\u306f\u3064\u3044\u3066\u3044\u306a\u3044!!!<\/h2>\n\n\n\n<p>\u7406\u7531\u306f\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001LibreOffice \u306b\u306f Basic \u30de\u30af\u30ed\u306e\u30a8\u30c7\u30a3\u30bf\u306f\u4ed8\u3044\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Python \u30de\u30af\u30ed\u306e\u30a8\u30c7\u30a3\u30bf\u306f\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u300c\u30c4\u30fc\u30eb\u300d\u2192\u300c\u30de\u30af\u30ed\u300d\u2192\u300c\u30de\u30af\u30ed\u306e\u7de8\u96c6\u300d\u3092\u958b\u304f\u3068 Basic \u30de\u30af\u30ed\u306e\u30a8\u30c7\u30a3\u30bf\u304c\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"842\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-27.png\" alt=\"\" class=\"wp-image-11821\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-27.png 951w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-27-300x266.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-27-768x680.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/a><\/figure>\n\n\n\n<p>\u3053\u306e\u30a8\u30c7\u30a3\u30bf\u306f\u6587\u6cd5\u306f Basic \u3060\u3051\u3069\u3001Excel VBA \u3068\u3082\u9055\u3046\u3057\u3001\u3055\u3089\u306b\u8a00\u3046\u3068 Excel VBA \u30a8\u30c7\u30a3\u30bf\u3068\u540c\u3058\u3050\u3089\u3044\u5316\u77f3\u306a\u306e\u3067\u306a\u3093\u3068\u3082\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u3067\u3059\u3002\u300cAs\u300d\u306e\u5f8c\u306e\u88dc\u5b8c\u5019\u88dc\u3082\u3067\u306a\u3044\u306e\u3067\u3001Excel VBA \u3088\u308a\u3082\u4f7f\u3044\u52dd\u624b\u306f\u60aa\u3044\u3067\u3059&#8230;\u3069\u3046\u3084\u3063\u3066\u30de\u30af\u30ed\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u3059\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"702\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26-1024x702.png\" alt=\"\" class=\"wp-image-11820\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26-1024x702.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26-300x206.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26-768x526.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26-1536x1052.png 1536w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-26.png 1639w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u3067\u3001Basic \u306e\u307b\u3046\u306f\u304a\u307e\u3051\u307f\u305f\u3044\u306a\u3082\u306e\u3089\u3057\u304f\u3001\u7d50\u5c40\u306e\u3068\u3053\u308d Basic \u3058\u3083\u306a\u304f\u3066 Python \u3067\u7d44\u3080\u65b9\u304c\u826f\u3055\u305d\u3046\u3068\u306e\u3053\u3068\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python \u30de\u30af\u30ed\u3092\u4f7f\u3046<\/h2>\n\n\n\n<p>\u5b9f\u306f LibreOffice Calc \u306ePython \u30de\u30af\u30ed\u3092\u4f7f\u3046\u306e\u306b\u306f2\u7a2e\u985e\u306e\u3084\u308a\u65b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5185\u90e8\u30de\u30af\u30ed\u306b\u3057\u3066 XSCRIPTCONTEXT \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u7d44\u3080<\/li>\n\n\n\n<li>\u5916\u90e8\u30de\u30af\u30ed\u306b\u3057\u3066 UNO API \u7d4c\u7531\u3067\u7d44\u3080<\/li>\n<\/ul>\n\n\n\n<p>Excel VBA \u306e\u3088\u3046\u306b Excel \u30d5\u30a1\u30a4\u30eb\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u5f62\u306a\u306e\u306f\u524d\u8005\u306e XSCRIPTCONTEXT \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u307b\u3046\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u306e\u3067\u3001\u3053\u3053\u3067\u306f UNO API \u7d4c\u7531\u306e\u307b\u3046\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>UNO API \u7d4c\u7531\u306e\u307b\u3046\u306f\u3001LibreOffice Calc \u304c\u30b5\u30fc\u30d0\u30fc\u306b\u306a\u3063\u3066 socket \u7d4c\u7531\u3067 Python \u304b\u3089 Calc \u306e\u5185\u90e8\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001Excel \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 C# \u3067\u64cd\u4f5c\u3059\u308b\u3088\u3046\u306a\u611f\u3058\u3067\u4f7f\u3048\u308b\u306e\u3067\u3001\u610f\u5916\u3068\u4f7f\u3044\u52dd\u624b\u304c\u3088\u3044\u3067\u3059\u3002\u7279\u306b\u5916\u90e8\u304b\u3089\u81ea\u52d5\u5b9f\u884c\u3084 AI \u7d4c\u7531\u3067\u4f55\u304b\u3055\u305b\u305f\u3044\u3068\u304d\u306f\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">UNO API \u7d4c\u7531<\/h3>\n\n\n\n<p>Calc \u3092\u8d77\u52d5\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"642\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28-1024x642.png\" alt=\"\" class=\"wp-image-11822\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28-1024x642.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28-300x188.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28-768x482.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-28.png 1386w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>PowerShell \u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304a\u304f\u3002\u30dd\u30fc\u30c8 2002 \u756a\u3067 LibreOffice \u306e\u30b5\u30fc\u30d0\u30fc\u3092\u5b9f\u884c\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&amp; \"C:\\Program Files\\LibreOffice\\program\\soffice\" --accept=\"socket,host=localhost,port=2002;urp;\" --norestore --nologo<\/pre>\n\n\n\n<p>vscode \u3067\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\uff08\u3053\u308c\u306f Copilot \u306b\u4f5c\u3063\u3066\u8cb0\u3063\u3066\u307e\u3059\uff09<br>\u30b3\u30fc\u30c9\u540d\u306f calc001.py \u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# UNO\u63a5\u7d9a\u306e\u6e96\u5099\nlocal_ctx = uno.getComponentContext()\nresolver = local_ctx.ServiceManager.createInstanceWithContext(\n    &quot;com.sun.star.bridge.UnoUrlResolver&quot;, local_ctx)\n\n# LibreOffice\u306b\u63a5\u7d9a\nctx = resolver.resolve(\n    &quot;uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext&quot;)\n\nsmgr = ctx.ServiceManager\ndesktop = smgr.createInstanceWithContext(&quot;com.sun.star.frame.Desktop&quot;, ctx)\n\n# \u73fe\u5728\u958b\u3044\u3066\u3044\u308bCalc\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\ndoc = desktop.getCurrentComponent()\nsheet = doc.Sheets&#x5B;0]  # 1\u679a\u76ee\u306e\u30b7\u30fc\u30c8\n\n# A1\u30bb\u30eb\u306b\u6587\u5b57\u5217\u3092\u5165\u529b\ncell = sheet.getCellByPosition(0, 0)  # (\u5217=0, \u884c=0) \u2192 A1\ncell.setString(&quot;tomoaki masuda&quot;)\n\n<\/pre><\/div>\n\n\n<p>PowerShell \u3067\u3001\u4ee5\u4e0b\u3092\u5b9f\u884c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&amp; \"C:\\Program Files\\LibreOffice\\program\\python\" .\\calc001.py<\/pre>\n\n\n\n<p>A1 \u30bb\u30eb\u306b\u6587\u5b57\u5217\u300ctomoaki masuda\u300d\u304c\u5165\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-29.png\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"420\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-29.png\" alt=\"\" class=\"wp-image-11823\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-29.png 567w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-29-300x222.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/a><\/figure>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u304c\u826f\u3044\u306e\u306f\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calc \u306f\u958b\u3044\u305f\u307e\u307e\u3067\u3088\u3044<\/li>\n\n\n\n<li>Python \u30b3\u30fc\u30c9\u306f vscode \u3067\u66f8\u3051\u308b<\/li>\n\n\n\n<li>\u30b3\u30fc\u30c9\u304c\u5373\u53cd\u6620\u3055\u308c\u308b\uff08Python.exe \u3092\u52d5\u304b\u3059\u306e\u3067\u5f53\u305f\u308a\u524d\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u30b3\u30fc\u30c9\u306e\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>import uno \u304c\u5fc5\u8981<\/li>\n\n\n\n<li>LibreOffice \u306b\u63a5\u7d9a\u3059\u308b\u307e\u3067\u304c\u5c11\u3005\u624b\u9593<\/li>\n\n\n\n<li>\u304a\u305d\u3089\u304f\u30c7\u30d0\u30c3\u30b0\u5b9f\u884c\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u306f\uff1f<\/li>\n\n\n\n<li>Python \u306f\u3001LibreOffice \u5185\u8535\u306e &#8220;C:\\Program Files\\LibreOffice\\program\\python&#8221; \u3092\u52d5\u304b\u3059\u5fc5\u8981\u3042\u308a\u3002<\/li>\n\n\n\n<li>\u30b7\u30fc\u30c8\u4ed8\u5c5e\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u74b0\u5883\u4f9d\u5b58\u306b\u306a\u308a\u304c\u3061<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u5f62\u3067\u7d50\u69cb\u5236\u9650\u304c\u591a\u3044\u3067\u3059\u3002Excel VBA \u306e\u3068\u304d\u306e\u3088\u3046\u306b\u3001Excel VBA \u30a8\u30c7\u30a3\u30bf\u3092\u958b\u304d\u306a\u304c\u3089\u307d\u3061\u307d\u3061\u3068\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3057\u305f\u308a\u3001\u30b7\u30fc\u30c8\u306b\u30c0\u30a4\u30a2\u30ed\u30b0\u3084\u30dc\u30bf\u30f3\u3092\u8cbc\u308a\u4ed8\u3051\u305f\u308a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304c\uff08\u3053\u308c\u306f\u5225\u9014\u5f8c\u3067\u8abf\u3079\u307e\u3059\uff09<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001Calc \u306b\u30b7\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u8868\u5f62\u5f0f\u3067\u6574\u3048\u308b<\/li>\n\n\n\n<li>\u65e2\u5b58\u306e\u30b7\u30fc\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001Python \u3067\u8a08\u7b97\u3057\u305f\u5f8c\u306b\u3001\u30b7\u30fc\u30c8\u306b\u8a08\u7b97\u7d50\u679c\u3092\u5165\u308c\u308b<\/li>\n\n\n\n<li>\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u3001\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3066\u8cbc\u308a\u4ed8\u3051\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u306e\u3088\u3046\u306a\u5b9a\u578b\u4f5c\u696d\u306b\u306f\u4fbf\u5229\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">import uno \u306e\u30b3\u30fc\u30c9\u88dc\u5b8c\u3092\u6709\u52b9\u306b\u3059\u308b<\/h3>\n\n\n\n<p>python \u304c\u7279\u6b8a\u306a\u3082\u306e\u3092\u53c2\u7167\u3057\u3066\u3044\u308b\u306e\u3067\u3001import uno \u306e\u30b3\u30fc\u30c9\u88dc\u5b8c\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u304b\u306a\u308a\u4e0d\u4fbf\u306a\u306e\u3067\u3001\u30b3\u30fc\u30c9\u88dc\u5b8c\u304c\u6709\u52b9\u306b\u306a\u308b\u3088\u3046\u306b settings.json \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-30.png\"><img loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"424\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-30.png\" alt=\"\" class=\"wp-image-11824\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-30.png 515w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-30-300x247.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n    &quot;python.analysis.autoImportCompletions&quot;: true,\n    &quot;python.analysis.extraPaths&quot;: &#x5B;\n        &quot;C:\/Program Files\/LibreOffice\/program&quot;,\n        &quot;C:\/Program Files\/LibreOffice\/program\/python-core-3.11.13\/lib&quot;\n    ]\n}\n<\/pre><\/div>\n\n\n<p>Lib \u3092\u53c2\u7167\u3057\u3066\u3044\u308b Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u90e8\u5206\u300cpython-core-3.11.13\u300d\u3092\u958b\u767a\u74b0\u5883\u3067\u63c3\u3048\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u304c\u3001\u3053\u308c\u3067 import uno \u306e\u30b3\u30fc\u30c9\u88dc\u5b8c\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001\u3082\u3068\u3082\u3068 Any \u578b\u306b\u306a\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u591a\u3044\u306e\u304b\u3001\u3042\u307e\u308a\u5f79\u306b\u7acb\u305f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u30e1\u30bd\u30c3\u30c9\u540d\u3068\u304b\u30af\u30e9\u30b9\u540d\u304b\u3089\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30b3\u30fc\u30c9\u306b\u30b8\u30e3\u30f3\u30d7\u3067\u304d\u308b\u306e\u306f\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Markdown \u306e\u8868\u3092\u8aad\u307f\u8fbc\u3093\u3067\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u51fa\u3059<\/h2>\n\n\n\n<p>\u3082\u3046\u5c11\u3057\u8907\u96d1\u306a\u4f8b\u3068\u3057\u3066 Markdown \u5f62\u5f0f\u3067\u66f8\u304b\u308c\u305f\u8868\u3092\u8aad\u307f\u53d6\u3063\u3066\u30b7\u30fc\u30c8\u306b\u8cbc\u308a\u4ed8\u3051\u308b Python \u30de\u30af\u30ed\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3082\u6700\u521d\u306e\u30b3\u30e1\u30f3\u30c8\u90e8\u5206\u3060\u3051\u66f8\u3044\u3066\u304a\u3044\u3066\u3001\u30b3\u30fc\u30c9\u306f Copilot \u306b\u66f8\u3044\u3066\u8cb0\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n&quot;&quot;&quot;\nmarkdown \u306e\u30c6\u30fc\u30d6\u30eb\u3092\u8aad\u307f\u53d6\u3063\u3066\u3001LibreOffice Calc \u306e\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u51fa\u3059\u30b9\u30af\u30ea\u30d7\u30c8\n\n\u4f7f\u7528\u65b9\u6cd5:\n1. LibreOffice Calc \u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u5b9f\u884c\n2. Markdown\u30c6\u30fc\u30d6\u30eb\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\n\n\u5b9f\u884c\u30b3\u30de\u30f3\u30c9:\n&amp; &quot;C:\\Program Files\\LibreOffice\\program\\python&quot; .\\calc002.py\n&quot;&quot;&quot;\n\nimport uno\nimport re\nfrom pathlib import Path\n\n\ndef parse_markdown_table(markdown_text: str) -&gt; list&#x5B;list&#x5B;str]]:\n    &quot;&quot;&quot;\n    Markdown\u30c6\u30fc\u30d6\u30eb\u3092\u30d1\u30fc\u30b9\u3057\u30662\u6b21\u5143\u30ea\u30b9\u30c8\u306b\u5909\u63db\u3059\u308b\n    \n    Args:\n        markdown_text: Markdown\u30c6\u30fc\u30d6\u30eb\u3092\u542b\u3080\u30c6\u30ad\u30b9\u30c8\n    \n    Returns:\n        2\u6b21\u5143\u30ea\u30b9\u30c8\uff08\u5404\u884c\u306e\u30bb\u30eb\u30c7\u30fc\u30bf\uff09\n    &quot;&quot;&quot;\n    lines = markdown_text.strip().split(&#039;\\n&#039;)\n    table_data = &#x5B;]\n    \n    for line in lines:\n        # \u30c6\u30fc\u30d6\u30eb\u884c\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\uff08|\u3067\u59cb\u307e\u308b\u884c\uff09\n        if not line.strip().startswith(&#039;|&#039;):\n            continue\n        \n        # \u533a\u5207\u308a\u884c\uff08|---|---|\u306a\u3069\uff09\u3092\u30b9\u30ad\u30c3\u30d7\n        if re.match(r&#039;^\\|&#x5B;\\s\\-:]+\\|$&#039;, line.strip().replace(&#039;|&#039;, &#039;|&#039;).replace(&#039;-&#039;, &#039;-&#039;)):\n            if &#039;---&#039; in line or &#039;:-&#039; in line or &#039;-:&#039; in line:\n                continue\n        \n        # \u30bb\u30eb\u3092\u5206\u5272\n        cells = line.split(&#039;|&#039;)\n        # \u6700\u521d\u3068\u6700\u5f8c\u306e\u7a7a\u8981\u7d20\u3092\u9664\u53bb\n        cells = &#x5B;cell.strip() for cell in cells&#x5B;1:-1]]\n        \n        if cells:  # \u7a7a\u3067\u306a\u3044\u884c\u306e\u307f\u8ffd\u52a0\n            table_data.append(cells)\n    \n    return table_data\n\n\ndef connect_to_libreoffice():\n    &quot;&quot;&quot;\n    LibreOffice \u306b\u63a5\u7d9a\u3057\u3066\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\n    \n    Returns:\n        (desktop, model, sheet) \u306e\u30bf\u30d7\u30eb\n    &quot;&quot;&quot;\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        &quot;com.sun.star.bridge.UnoUrlResolver&quot;, local_ctx)\n    # LibreOffice\u306b\u63a5\u7d9a\n    ctx = resolver.resolve(\n        &quot;uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext&quot;)\n    smgr = ctx.ServiceManager\n    desktop = smgr.createInstanceWithContext(&quot;com.sun.star.frame.Desktop&quot;, ctx)\n    \n    # \u73fe\u5728\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\n    model = desktop.getCurrentComponent()\n    \n    if model is None:\n        raise Exception(&quot;LibreOffice Calc \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u958b\u304b\u308c\u3066\u3044\u307e\u305b\u3093&quot;)\n    \n    # \u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\n    sheet = model.getCurrentController().getActiveSheet()\n    \n    return desktop, model, sheet\n\n\ndef write_to_calc(sheet, table_data: list&#x5B;list&#x5B;str]], start_row: int = 0, start_col: int = 0):\n    &quot;&quot;&quot;\n    LibreOffice Calc \u306e\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\n    \n    Args:\n        sheet: Calc\u306e\u30b7\u30fc\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\n        table_data: \u66f8\u304d\u8fbc\u3080\u30c7\u30fc\u30bf\uff082\u6b21\u5143\u30ea\u30b9\u30c8\uff09\n        start_row: \u958b\u59cb\u884c\uff080\u59cb\u307e\u308a\uff09\n        start_col: \u958b\u59cb\u5217\uff080\u59cb\u307e\u308a\uff09\n    &quot;&quot;&quot;\n    for row_idx, row_data in enumerate(table_data):\n        for col_idx, cell_value in enumerate(row_data):\n            cell = sheet.getCellByPosition(start_col + col_idx, start_row + row_idx)\n            cell.setString(cell_value)\n\n\ndef main():\n    &quot;&quot;&quot;\u30e1\u30a4\u30f3\u51e6\u7406&quot;&quot;&quot;\n    # \u30b5\u30f3\u30d7\u30eb\u306eMarkdown\u30c6\u30fc\u30d6\u30eb\n    sample_markdown = &quot;&quot;&quot;\n| \u540d\u524d | \u5e74\u9f62 | \u8077\u696d |\n|------|------|------|\n| \u7530\u4e2d | 30 | \u30a8\u30f3\u30b8\u30cb\u30a2 |\n| \u4f50\u85e4 | 25 | \u30c7\u30b6\u30a4\u30ca\u30fc |\n| \u9234\u6728 | 35 | \u30de\u30cd\u30fc\u30b8\u30e3\u30fc |\n&quot;&quot;&quot;\n    \n    try:\n        # Markdown\u30c6\u30fc\u30d6\u30eb\u3092\u30d1\u30fc\u30b9\n        table_data = parse_markdown_table(sample_markdown)\n        print(f&quot;\u30d1\u30fc\u30b9\u3057\u305f\u30c7\u30fc\u30bf: {table_data}&quot;)\n        \n        # LibreOffice \u306b\u63a5\u7d9a\n        desktop, model, sheet = connect_to_libreoffice()\n        print(&quot;LibreOffice Calc \u306b\u63a5\u7d9a\u3057\u307e\u3057\u305f&quot;)\n        \n        # \u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\n        write_to_calc(sheet, table_data)\n        print(&quot;\u30c7\u30fc\u30bf\u306e\u66f8\u304d\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f&quot;)\n        \n    except Exception as e:\n        print(f&quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: {e}&quot;)\n\n\nif __name__ == &quot;__main__&quot;:\n    main()\n\n<\/pre><\/div>\n\n\n<p>\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3068\u3001Markdown \u5f62\u5f0f\u306e\u6587\u5b57\u5217\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u306e\u3067\u3001\u306a\u3093\u3061\u3083\u3063\u3066\u30c4\u30fc\u30eb\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u3067\u52d5\u4f5c\u306f\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u5b9f\u306f\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u52d5\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001connect_to_libreoffice \u95a2\u6570\u3084\u3001\u4ee5\u4e0b\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u306e\u3068\u3053\u308d\u3060\u3051\u624b\u4f5c\u696d\u3067\u66f8\u304d\u5909\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    # \u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b7\u30fc\u30c8\u3092\u53d6\u5f97<br>    sheet = model.getCurrentController().getActiveSheet()<\/pre>\n\n\n\n<p>\u30a2\u30af\u30c6\u30a3\u30d6\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u3084\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u306f\u3001\u73fe\u5728\u958b\u3044\u3066\u3044\u308b\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u3084\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u3080\u306e\u3067\u7d50\u69cb\u983b\u7e41\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5b9f\u884c<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31-1024x137.png\" alt=\"\" class=\"wp-image-11826\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31-1024x137.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31-300x40.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31-768x103.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-31.png 1077w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u3059\u308b\u3068 Calc \u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u66f8\u304d\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-32.png\"><img loading=\"lazy\" decoding=\"async\" width=\"565\" height=\"438\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-32.png\" alt=\"\" class=\"wp-image-11827\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-32.png 565w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-32-300x233.png 300w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><\/figure>\n\n\n\n<p>2\u5217\u76ee\u306b\u300c&#8212;\u300d\u304c\u5165\u3063\u305f\u307e\u307e\u306a\u306e\u306f\u3054\u611b\u656c\u306a\u306e\u3067\u3059\u304c\u3001CSV \u5f62\u5f0f\u304b\u3089\u306e\u8cbc\u308a\u4ed8\u3051\u3068\u304b\u3001\u5225\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304b\u3089\u306e\u8cbc\u308a\u4ed8\u3051\u3068\u304b\u306b\u306f\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002\u8868\u5f62\u5f0f\u306e\u5834\u5408\u306f\u3001\u3053\u3053\u304b\u3089\u7f6b\u7dda\u3092\u4ed8\u3051\u305f\u308a\u3001\u30bf\u30a4\u30c8\u30eb\u884c\u306b\u8272\u3092\u4ed8\u3051\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u305d\u306e\u3042\u305f\u308a\u3082 Python \u30de\u30af\u30ed\u306b\u3067\u304d\u308c\u3070\u4e00\u5fdc\u4fbf\u5229\u306b\u306a\u308b\u304b\u306a\u3068\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3067\u3001Excel &amp; Excel VBA \u304b\u3089 LibreOffice &amp; Python \u306b\u79fb\u884c\u3067\u304d\u305d\u3046\u304b\uff1f<\/h2>\n\n\n\n<p>\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001Excel VBA \u304b\u3089 Python \u3078\u306e\u79fb\u884c\u306f\u6577\u5c45\u304c\u9ad8\u3044\u3067\u3059\u3002Excel VBA \u306b\u306f ActiveWorkbook \u3068\u304b Me \u3068\u304b\u3001Visual Basic \u98a8\u306a\u4fbf\u5229\u306a\u30b0\u30ed\u30fc\u30d0\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u591a\u3044\u3093\u3067\u3059\u3088\u306d\u3002import uno \u304c\u3069\u3053\u307e\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u3089\u308c\u3066\u3044\u308b\u304b\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u90e8\u5206\u304c\u306a\u3044\u3068\u7d50\u69cb\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u624b\u9593\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-33.png\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"479\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-33.png\" alt=\"\" class=\"wp-image-11828\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-33.png 855w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-33-300x168.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-33-768x430.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/a><\/figure>\n\n\n\n<p>\u9006\u306b\u8a00\u3048\u3070\u3001AI \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u4f7f\u3063\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u3067\u304d\u308c\u3070 Python \u30b3\u30fc\u30c9\u3067\u3082\u7279\u306b\u554f\u984c\u304c\u306a\u3055\u305d\u3046\u3067\u3059\u3002\u304a\u305d\u3089\u304f\u3001Excel VBA \u30d9\u30fc\u30b9\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u3044\u308d\u3044\u308d\u306a\u524d\u63d0\u6761\u4ef6\u3093\u3069\u3092\u7aef\u6298\u308c\u308b\u3088\u3046\u306b\u3059\u308c\u3070\u696d\u52d9\u7684\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u306f\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f55\u304b\u5185\u88fd\u3067\u304d\u305d\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f5c\u3063\u3066\u307f\u308b\u3068\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8907\u6570\u306e\u30a2\u30f3\u30b1\u30fc\u30c8\u30b7\u30fc\u30c8\u304b\u3089\u3072\u3068\u3064\u306e\u96c6\u8a08\u7d50\u679c\u306b\u307e\u3068\u3081\u308b<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u60c5\u5831\u3092\u53ce\u96c6\u3057\u3066\u3001Calc \u306b\u9031\u9593\u30ec\u30dd\u30fc\u30c8\u3084\u6708\u9593\u30ec\u30dd\u30fc\u30c8\u3057\u3066\u30b0\u30e9\u30d5\u4ed8\u304d\u3067\u4f5c\u6210\u3059\u308b<\/li>\n\n\n\n<li>\u30b7\u30fc\u30c8\u306b\u95a2\u6570\u3092\u3064\u3051\u3066\u8a08\u7b97\u3057\u3066\u304a\u3044\u3066\u3001\u66f4\u306b\u96c6\u8a08\u3057\u3066\u307e\u3068\u3081\u308b\u3088\u3046\u306a\u30c4\u30fc\u30eb<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u3042\u305f\u308a\u304c\u3001\u793e\u5185\u3067\u30c4\u30fc\u30eb\u3068\u3057\u3066\u4f5c\u308c\u308c\u3070\u3088\u3044\u304b\u306a\u3001\u3068\u3002M365 \u306e Python \u30de\u30af\u30ed\u3063\u3066\u3069\u306e\u304f\u3089\u3044\u4f7f\u308f\u308c\u3066\u3044\u308b\u3093\u3067\u3057\u3087\u3046\u306d\uff1f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ffd\u8a18 2025\/12\/16<\/h2>\n\n\n\n<p>LibreOffice Calc \u3067 Python \u304b\u3089\u5e33\u7968\u4f5c\u6210\uff08\u30b7\u30fc\u30c8\u306e\u30b9\u30bf\u30a4\u30eb\u4ee5\u5916\u306f\uff09  <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/11840\">https:\/\/www.moonmile.net\/blog\/archives\/11840<\/a><br>LibreOffice Calc \u3067 Python \u304b\u3089\u5e33\u7968\u4f5c\u6210\uff08\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528\uff09  <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/11849\">https:\/\/www.moonmile.net\/blog\/archives\/11849<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ffd\u8a18 2026\/01\/05<\/h2>\n\n\n\n<p>LibreOffice Calc \u3067\u4f7f\u3046 Excel Like UNO \u3092\u4eee\u30ea\u30ea\u30fc\u30b9  <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/11916\">https:\/\/www.moonmile.net\/blog\/archives\/11916<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Office 365 \u304c\u5024\u4e0a\u3052\u3092\u3055\u308c\u305f\u306e\u3067\u3001\u7121\u6599\u306e LibreOffice \u306b\u79fb\u884c\u3057\u307e\u3057\u3087\u3046&#8230;\u3063\u3066\u306e\u304c\u6d41\u884c\u3063\u305f\u304c\u3069\u3046\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u307e\u3042\u3001\u3044\u307e\u307e\u3067 Excel \u3067\u4f5c\u3063\u3066\u3044\u305f\u8cc7\u6599\u3092 Lib &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/11818\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,109],"tags":[],"class_list":["post-11818","post","type-post","status-publish","format-standard","hentry","category-dev","category-libreoffice"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=11818"}],"version-history":[{"count":4,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11818\/revisions"}],"predecessor-version":[{"id":11927,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11818\/revisions\/11927"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=11818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=11818"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=11818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}