{"id":12588,"date":"2023-11-10T23:55:51","date_gmt":"2023-11-10T14:55:51","guid":{"rendered":"https:\/\/extan.jp\/?p=12588"},"modified":"2025-03-09T00:14:37","modified_gmt":"2025-03-08T15:14:37","slug":"excel%e3%81%ab%e3%80%8cgpt-4-turbo%e3%80%8d%e3%83%a2%e3%83%87%e3%83%ab%e3%81%ae%e5%9b%9e%e7%ad%94%e3%82%92%e5%87%ba%e5%8a%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%ef%bc%81vba%e3%81%a7api%e9%80%a3","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=12588","title":{"rendered":"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01"},"content":{"rendered":"<p>Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3057\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT API\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044\u304c\u3069\u3053\u306b\u3082\u306a\u3044<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u304a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b<\/p>\n<div class=\"rdinfo\">\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_66_1 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\">\u3082\u304f\u3058<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=12588\/#Excel%E3%81%ABChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%A7%E5%9B%9E%E7%AD%94%E3%82%92%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" title=\"Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u30a4\u30e1\u30fc\u30b8\">Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u30a4\u30e1\u30fc\u30b8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\" title=\"ChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066\">ChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=12588\/#Excel%E3%81%ABChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%A7%E5%9B%9E%E7%AD%94%E3%82%92%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\" title=\"Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\">Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT%E9%80%A3%E6%90%BA%E5%85%83%E3%81%AEExcel%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E7%94%A8%E6%84%8F\" title=\"ChatGPT\u9023\u643a\u5143\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\">ChatGPT\u9023\u643a\u5143\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT%E3%81%AEAPI%E3%82%AD%E3%83%BC%E3%82%92%E5%8F%96%E5%BE%97\" title=\"ChatGPT\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97\">ChatGPT\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT%E3%81%AEAPI%E3%82%92%E4%BD%BF%E3%81%86%E4%B8%8A%E3%81%A7%E3%81%AE%E6%B3%A8%E6%84%8F%E7%82%B9\" title=\"ChatGPT\u306eAPI\u3092\u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9\">ChatGPT\u306eAPI\u3092\u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT_API%E3%81%A8%E9%80%A3%E6%90%BA%E3%81%99%E3%82%8B%E3%82%B5%E3%83%B3%E3%83%97%E3%83%ABVBA%E3%82%B3%E3%83%BC%E3%83%89\" title=\"ChatGPT API\u3068\u9023\u643a\u3059\u308b\u30b5\u30f3\u30d7\u30ebVBA\u30b3\u30fc\u30c9\">ChatGPT API\u3068\u9023\u643a\u3059\u308b\u30b5\u30f3\u30d7\u30ebVBA\u30b3\u30fc\u30c9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=12588\/#VBA%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u8a2d\u5b9a\u3059\u308b\">VBA\u3092\u8a2d\u5b9a\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=12588\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85\" title=\"VBA\u306e\u5b9f\u88c5\">VBA\u306e\u5b9f\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=12588\/#JSON%E3%83%91%E3%83%BC%E3%82%B9%E7%94%A8%E3%81%AE%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%AE%9F%E8%A3%85\" title=\"JSON\u30d1\u30fc\u30b9\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5b9f\u88c5\">JSON\u30d1\u30fc\u30b9\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5b9f\u88c5<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/extan.jp\/?p=12588\/#GitHub%E3%81%8B%E3%82%89VBA-JSON%E3%82%92%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89\" title=\"GitHub\u304b\u3089VBA-JSON\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\">GitHub\u304b\u3089VBA-JSON\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/extan.jp\/?p=12588\/#%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%81%9FZIP%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E8%A7%A3%E5%87%8D\" title=\"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/extan.jp\/?p=12588\/#JsonConverter%E3%82%92%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88\" title=\"JsonConverter\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\">JsonConverter\u3092\u30a4\u30f3\u30dd\u30fc\u30c8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/extan.jp\/?p=12588\/#%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%82%92%E8%BF%BD%E5%8A%A0\" title=\"\u53c2\u7167\u8a2d\u5b9a\u3092\u8ffd\u52a0\">\u53c2\u7167\u8a2d\u5b9a\u3092\u8ffd\u52a0<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/extan.jp\/?p=12588\/#%E3%83%9C%E3%82%BF%E3%83%B3%E3%82%92%E9%85%8D%E7%BD%AE%E3%81%99%E3%82%8B\" title=\"\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3059\u308b\">\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/extan.jp\/?p=12588\/#VBA%E3%81%8B%E3%82%89ChatGPT%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\" title=\"VBA\u304b\u3089ChatGPT\u3092\u5b9f\u884c\u3059\u308b\">VBA\u304b\u3089ChatGPT\u3092\u5b9f\u884c\u3059\u308b<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/extan.jp\/?p=12588\/#%E3%82%A2%E3%83%A1%E3%83%AA%E3%82%AB%E5%90%88%E8%A1%86%E5%9B%BD%E3%81%AE%E6%AD%B4%E4%BB%A3%E5%A4%A7%E7%B5%B1%E9%A0%98%E3%82%92%E3%81%8D%E3%81%84%E3%81%A6%E3%81%BF%E3%82%8B\" title=\"\u30a2\u30e1\u30ea\u30ab\u5408\u8846\u56fd\u306e\u6b74\u4ee3\u5927\u7d71\u9818\u3092\u304d\u3044\u3066\u307f\u308b\">\u30a2\u30e1\u30ea\u30ab\u5408\u8846\u56fd\u306e\u6b74\u4ee3\u5927\u7d71\u9818\u3092\u304d\u3044\u3066\u307f\u308b<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/extan.jp\/?p=12588\/#ChatGPT%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AEAPI%E3%81%A8%E9%80%A3%E6%90%BA%E3%81%99%E3%82%8BVBA%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E8%AA%AC%E6%98%8E\" title=\"ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308bVBA\u30b3\u30fc\u30c9\u306e\u8aac\u660e\">ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308bVBA\u30b3\u30fc\u30c9\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/extan.jp\/?p=12588\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\" title=\"VBA\u306e\u5b9f\u88c5\u624b\u9806\">VBA\u306e\u5b9f\u88c5\u624b\u9806<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/extan.jp\/?p=12588\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u5b9f\u884c\u3059\u308b\">VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/extan.jp\/?p=12588\/#Powershell%E3%81%A7%E3%81%8B%E3%82%93%E3%81%9F%E3%82%93%E3%81%ABChatGPT-4_Turbo%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99%E6%96%B9%E6%B3%95\" title=\"Powershell\u3067\u304b\u3093\u305f\u3093\u306bChatGPT-4 Turbo\u3092\u52d5\u304b\u3059\u65b9\u6cd5\">Powershell\u3067\u304b\u3093\u305f\u3093\u306bChatGPT-4 Turbo\u3092\u52d5\u304b\u3059\u65b9\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/extan.jp\/?p=12588\/#Python%E3%81%A7ChatGPT%E3%81%AE%E5%9B%9E%E7%AD%94%E3%82%92Excel%E3%81%B8%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\" title=\"Python\u3067ChatGPT\u306e\u56de\u7b54\u3092Excel\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5\">Python\u3067ChatGPT\u306e\u56de\u7b54\u3092Excel\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/extan.jp\/?p=12588\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" title=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Excel%E3%81%ABChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%A7%E5%9B%9E%E7%AD%94%E3%82%92%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel\u306bChatGPT\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Excel\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12595\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5.png\" alt=\"\" width=\"845\" height=\"546\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5.png 845w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-300x194.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-768x496.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-718x464.png 718w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/p>\n<p>B1\u30bb\u30eb\u306b\u8cea\u554f\u5185\u5bb9\u3092\u5165\u308c\u3001\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001ChatGPT\u304c\u547c\u3073\u51fa\u3055\u308c\u3001\u305d\u306e\u7d50\u679c\u3092B3\u30bb\u30eb\u4ee5\u964d\u306b\u51fa\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12597\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7.png\" alt=\"\" width=\"842\" height=\"564\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7.png 842w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-300x200.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-768x514.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-718x481.png 718w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/p>\n<p>\u3053\u308c\u307e\u3067\u306e\u300cGPT-4\u300d\u30e2\u30c7\u30eb\u3088\u308a\u9ad8\u6a5f\u80fd\u304b\u3064\u6599\u91d1\u304c\u5b89\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u826f\u3044\u3067\u3059\u306d\uff01<\/p>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u5b9f\u88c5\u3057\u3066\u3001\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\"><\/span>ChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300cGPT-4 Turbo\u300d\u306f\u3001OpenAI\u304c\u63d0\u4f9b\u3059\u308bChatGPT\u306e\u9ad8\u901f\u5316\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002<br \/>\n\u3053\u306e\u30e2\u30c7\u30eb\u306f\u3001\u5f93\u6765\u306eGPT-4\u30e2\u30c7\u30eb\u306e\u6a5f\u80fd\u3068\u6027\u80fd\u3092\u7dad\u6301\u3057\u3064\u3064\u3001\u5fdc\u7b54\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u300cGPT-4 Turbo\u300d\u306f\u3001\u5f93\u6765\u306eGPT-4\u306e\u4f7f\u7528\u6599\u304c\u5165\u529b\u30fb\u51fa\u529b\u30c8\u30fc\u30af\u30f3\u5b89\u304f\u306a\u308a\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u306f2023\u5e744\u6708\u307e\u3067\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u65e9\u304f\u3066\u3001\u6027\u80fd\u3088\u304f\u3001\u60c5\u5831\u3082\u65b0\u3057\u304f\u306a\u3063\u3066\u3088\u308a\u5229\u7528\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u306d\uff01<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Excel%E3%81%ABChatGPT%E3%81%AE%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%A7%E5%9B%9E%E7%AD%94%E3%82%92%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"ChatGPT%E9%80%A3%E6%90%BA%E5%85%83%E3%81%AEExcel%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E7%94%A8%E6%84%8F\"><\/span>ChatGPT\u9023\u643a\u5143\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u307e\u305a\u306f\u3001ChatGPT\u306e\u9023\u643a\u5143\u3068\u306a\u308bExcel\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>B1\u30bb\u30eb\u306b\u8cea\u554f\u5185\u5bb9\u3092\u5165\u308c\u308b\u67a0\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<p>ChatGPT\u306e\u7d50\u679c\u306fB3\u30bb\u30eb\u4ee5\u964d\u306b\u51fa\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12595\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5.png\" alt=\"\" width=\"845\" height=\"546\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5.png 845w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-300x194.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-768x496.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_5-718x464.png 718w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u30a2\u30a4\u30b3\u30f3\u306a\u3069\u6dfb\u3048\u308b\u3068\u304b\u3063\u3053\u3088\u304f\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u597d\u307f\u3067\u3044\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h3><span class=\"ez-toc-section\" id=\"ChatGPT%E3%81%AEAPI%E3%82%AD%E3%83%BC%E3%82%92%E5%8F%96%E5%BE%97\"><\/span>ChatGPT\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4eca\u56de\u4f7f\u3046ChatGPT\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>API keys\u767a\u884c\u30da\u30fc\u30b8\u3078\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><a href=\"https:\/\/platform.openai.com\/account\/api-keys\" target=\"_blank\" rel=\"noopener\"><code>https:\/\/platform.openai.com\/account\/api-keys<\/code><\/a><\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u521d\u56de\u30ed\u30b0\u30a4\u30f3\u306e\u5834\u5408\u306f\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>\u300cCreate new secret key\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u51fa\u529b\u3055\u308c\u305fAPI\u30ad\u30fc\u3092\u30e1\u30e2\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10694\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_7.png\" alt=\"\" width=\"725\" height=\"343\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_7.png 725w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_7-300x142.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_7-718x340.png 718w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u767a\u884c\u3055\u308c\u305fAPI\u30ad\u30fc\u306f\u753b\u9762\u3092\u9589\u3058\u305f\u5f8c\u306f\u898b\u3089\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3057\u3063\u304b\u308a\u8a18\u9332\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305f\u3001\u5916\u90e8\u306b\u6f0f\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h4><span class=\"ez-toc-section\" id=\"ChatGPT%E3%81%AEAPI%E3%82%92%E4%BD%BF%E3%81%86%E4%B8%8A%E3%81%A7%E3%81%AE%E6%B3%A8%E6%84%8F%E7%82%B9\"><\/span>ChatGPT\u306eAPI\u3092\u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>ChatGPT\u306eAPI\u3092\u4f7f\u3046\u4e0a\u3067\u306e\u6ce8\u610f\u70b9\u3092\u5148\u306b\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<\/p>\n<p>ChatGPT\u306eAPI\u306f\u5229\u7528\u3057\u3066\u3044\u304f\u3068\u6599\u91d1\u304c\u767a\u751f\u3059\u308b\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u767a\u884c\u3057\u305fAPI\u3092\u6570\u591a\u304f\u4f7f\u3063\u305f\u308a\u3001\u7b2c\u4e09\u8005\u306b\u5171\u6709\u3057\u3001\u4e0d\u7279\u5b9a\u591a\u6570\u306e\u4eba\u9054\u306b\u5229\u7528\u3055\u308c\u305f\u308a\u3059\u308b\u3068\u77e5\u3089\u306c\u9593\u306b\u8cbb\u7528\u304c\u591a\u984d\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u5341\u5206\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305f\u3060\u3001\u521d\u56de\u767b\u9332\u6642\u306f18\u30c9\u30eb\u306e\u7121\u6599\u67a0\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u3092\u8d85\u3048\u306a\u3044\u5206\u91cf\u3067\u3042\u308c\u3070\u6599\u91d1\u306f\u767a\u751f\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u3069\u308c\u3050\u3089\u3044\u4f7f\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u6cd5\u306f<a href=\"https:\/\/platform.openai.com\/account\/usage\" target=\"_blank\" rel=\"noopener\">Usage\u30da\u30fc\u30b8<\/a>\u304b\u3089\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u968f\u6642\u78ba\u8a8d\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10695\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_8.png\" alt=\"\" width=\"970\" height=\"518\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_8.png 970w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_8-300x160.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_8-768x410.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/02\/021023_1611_8-718x383.png 718w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/>\n<h3><span class=\"ez-toc-section\" id=\"ChatGPT_API%E3%81%A8%E9%80%A3%E6%90%BA%E3%81%99%E3%82%8B%E3%82%B5%E3%83%B3%E3%83%97%E3%83%ABVBA%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>ChatGPT API\u3068\u9023\u643a\u3059\u308b\u30b5\u30f3\u30d7\u30ebVBA\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>ChatGPT API\u3068\u9023\u643a\u3059\u308bVBA\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u8cea\u554f\u3092ChatGPT\u306eAPI\u3078\u9001\u308b_GPT4Turbo()\n\n    &#039; JSON\u30d1\u30fc\u30b5\u30fc\u3092\u5c0e\u5165\u3057Microsoft Scripting Runtime\u3092\u53c2\u7167\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\n\n    Dim objhttp As Object\n    Dim APIKey As String\n    Dim strTextToPredict As String\n    Dim strRequestBody As String\n    Dim strResponse As String\n    Dim strModel As String\n    Dim strMessages As String\n    Dim apiUrl As String\n    Dim jsonResponse As Dictionary\n\n    APIKey = &quot;sk-****************************************************&quot; &#039; \u5b9f\u969b\u306eAPI\u30ad\u30fc\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\n\n    &#039; \u30e2\u30c7\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\n    strModel = &quot;gpt-4-1106-preview&quot;\n\n\n    &#039; \u5165\u529b\u30bb\u30eb\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3001\u6539\u884c\u3092\u51e6\u7406\u3057\u307e\u3059\n    strTextToPredict = Replace(Sheets(1).Range(&quot;B1&quot;).Text, Chr(10), &quot;\\n&quot;)\n\n    &#039; JSON\u914d\u5217\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6e96\u5099\u3057\u307e\u3059\n\n    strMessages = &quot;[{&quot;&quot;role&quot;&quot;: &quot;&quot;user&quot;&quot;, &quot;&quot;content&quot;&quot;:&quot;&quot;&quot; &amp; strTextToPredict &amp; &quot;&quot;&quot;}]&quot;\n\n    &#039; API\u306eURL\u3092\u8a2d\u5b9a\u3057\u307e\u3059\n    apiUrl = &quot;https:\/\/api.openai.com\/v1\/chat\/completions&quot;\n\n    &#039; HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u521d\u671f\u5316\u3057\u307e\u3059\n    Set objhttp = CreateObject(&quot;MSXML2.XMLHTTP&quot;)\n    With objhttp\n        .Open &quot;POST&quot;, apiUrl, False\n        .setRequestHeader &quot;Content-Type&quot;, &quot;application\/json&quot;\n        .setRequestHeader &quot;Authorization&quot;, &quot;Bearer &quot; &amp; APIKey\n        strRequestBody = &quot;{&quot;&quot;model&quot;&quot;:&quot;&quot;&quot; &amp; strModel &amp; &quot;&quot;&quot;, &quot;&quot;messages&quot;&quot;:&quot; &amp; strMessages &amp; &quot;}&quot;\n        .send strRequestBody\n\n        &#039; \u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\n        If .Status = 200 Then\n            strResponse = .responseText\n        Else\n            MsgBox &quot;\u30a8\u30e9\u30fc: &quot; &amp; .Status &amp; &quot; - &quot; &amp; .statusText\n            Exit Sub\n        End If\n    End With\n\n    Debug.Print strResponse\n\n    &#039; JSON\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30d1\u30fc\u30b9\u3057\u307e\u3059\u3002\n    &#039; JSON\u30d1\u30fc\u30b9\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5fc5\u8981\u3067\u3059\u3002\n    Set jsonResponse = JsonConverter.ParseJson(strResponse)\n\n    &#039; \u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u542b\u307e\u308c\u308b\u914d\u5217\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u90e8\u5206\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n    If jsonResponse(&quot;choices&quot;)(1)(&quot;message&quot;)(&quot;role&quot;) = &quot;assistant&quot; Then\n        Sheets(1).Range(&quot;B3&quot;).Value = jsonResponse(&quot;choices&quot;)(1)(&quot;message&quot;)(&quot;content&quot;)\n    End If\n\nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u8a2d\u5b9a\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5148\u307b\u3069\u30e1\u30e2\u3057\u305fAPI\u30ad\u30fc\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>APIKey = &quot;sk-****************************************************&quot;<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85\"><\/span>VBA\u306e\u5b9f\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<br \/>\nVBA\u306e\u5b9f\u88c5\u624b\u9806<br \/>\n\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"JSON%E3%83%91%E3%83%BC%E3%82%B9%E7%94%A8%E3%81%AE%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%81%AE%E5%AE%9F%E8%A3%85\"><\/span>JSON\u30d1\u30fc\u30b9\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5b9f\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3067JsonConverter\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001VBA-JSON\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001<br \/>\n\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u5b9f\u88c5\u624b\u9806\u306f\u5c11\u3057\u8907\u96d1\u3067\u3059\u304c\u3001\u4e00\u5ea6\u5b9f\u88c5\u3057\u3066\u3057\u307e\u3048\u3070\u305d\u306e\u3042\u3068\u306e\u64cd\u4f5c\u306f\u4e0d\u8981\u3067\u3059\u306e\u3067\u3001\u304c\u3093\u3070\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h4><span class=\"ez-toc-section\" id=\"GitHub%E3%81%8B%E3%82%89VBA-JSON%E3%82%92%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89\"><\/span>GitHub\u304b\u3089VBA-JSON\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>VBA-JSON\u306e<a href=\"https:\/\/github.com\/VBA-tools\/VBA-JSON\" target=\"_blank\" rel=\"noopener\">GitHub\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br \/>\n\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cDownload ZIP\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%81%97%E3%81%9FZIP%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E8%A7%A3%E5%87%8D\"><\/span>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u3001\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"JsonConverter%E3%82%92%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88\"><\/span>JsonConverter\u3092\u30a4\u30f3\u30dd\u30fc\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Excel\u3092\u958b\u304d\u3001VBA\u30a8\u30c7\u30a3\u30bf\uff08Alt + F11\uff09\u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u3067\u3001VBA\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30d5\u30a1\u30a4\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u300d\u3092\u9078\u629e\u3057\u3001<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12594\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_4.png\" alt=\"\" width=\"242\" height=\"95\" \/><\/p>\n<p>\u89e3\u51cd\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u300cJsonConverter.bas\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12593\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_3.png\" alt=\"\" width=\"224\" height=\"146\" \/><\/p>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u308b\u3068\u3001JsonConverter\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30ea\u30b9\u30c8\u4e00\u89a7\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12592\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_2.png\" alt=\"\" width=\"338\" height=\"151\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_2.png 338w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_2-300x134.png 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E5%8F%82%E7%85%A7%E8%A8%AD%E5%AE%9A%E3%82%92%E8%BF%BD%E5%8A%A0\"><\/span>\u53c2\u7167\u8a2d\u5b9a\u3092\u8ffd\u52a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>VBA\u30a8\u30c7\u30a3\u30bf\u306e\u300c\u30c4\u30fc\u30eb\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u53c2\u7167\u8a2d\u5b9a&#8230;\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u300c\u53c2\u7167\u53ef\u80fd\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u30ea\u30b9\u30c8\u3067\u3001\u300cMicrosoft Scripting Runtime\u300d\u3092\u63a2\u3057\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u30aa\u30f3\u306b\u3057\u3066\u300cOK\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12591\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_1.png\" alt=\"\" width=\"328\" height=\"253\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_1.png 328w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_1-300x231.png 300w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/p>\n<p>\u3053\u308c\u3067VBA\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067JsonConverter\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff01<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E3%83%9C%E3%82%BF%E3%83%B3%E3%82%92%E9%85%8D%E7%BD%AE%E3%81%99%E3%82%8B\"><\/span>\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30de\u30af\u30ed\u3092\u30dc\u30bf\u30f3\u304b\u3089\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u306f\u30ea\u30dc\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u958b\u767a\u300d\u30bf\u30d6\u3092\u9078\u629e\u3057\u300c\u633f\u5165\u300d\uff1e\u300c\u30d5\u30a9\u30fc\u30e0\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u300d\uff1e\u300c\u30dc\u30bf\u30f3\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>\u4efb\u610f\u306e\u540d\u524d\u306b\u8868\u793a\u540d\u3092\u5909\u66f4\u3057\u3001\u53f3\u30af\u30ea\u30c3\u30af\uff1e\u300c\u30de\u30af\u30ed\u306e\u767b\u9332\u300d\u304b\u3089\u4e0a\u8a18\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u30de\u30af\u30ed\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12596\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_6.png\" alt=\"\" width=\"390\" height=\"143\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_6.png 390w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_6-300x110.png 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%8B%E3%82%89ChatGPT%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\"><\/span>VBA\u304b\u3089ChatGPT\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"%E3%82%A2%E3%83%A1%E3%83%AA%E3%82%AB%E5%90%88%E8%A1%86%E5%9B%BD%E3%81%AE%E6%AD%B4%E4%BB%A3%E5%A4%A7%E7%B5%B1%E9%A0%98%E3%82%92%E3%81%8D%E3%81%84%E3%81%A6%E3%81%BF%E3%82%8B\"><\/span>\u30a2\u30e1\u30ea\u30ab\u5408\u8846\u56fd\u306e\u6b74\u4ee3\u5927\u7d71\u9818\u3092\u304d\u3044\u3066\u307f\u308b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u307e\u305a\u306f\u304b\u3093\u305f\u3093\u306a\u30a2\u30e1\u30ea\u30ab\u5408\u8846\u56fd\u306e\u6b74\u4ee3\u5927\u7d71\u9818\u3092\u304d\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u8cea\u554f\u5185\u5bb9\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<div class=\"info\"><code>\u30a2\u30e1\u30ea\u30ab\u5408\u8846\u56fd\u306e\u6b74\u4ee3\u5927\u7d71\u9818\u3092\u5728\u7c4d\u5e74\u4ed8\u304d\u3067\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/code><\/div>\n<p>\u5927\u7d71\u9818\u540d\u306e\u4ed6\u306b\u5e74\u53f7\u3082\u542b\u3081\u308b\u3088\u3046\u8cea\u554f\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d50\u679c\u3067\u3059\u3002<\/p>\n<p>\u306f\u3044\u3001\u3057\u3063\u304b\u308a\u56de\u7b54\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u306d\uff01<br \/>\n\u60c5\u5831\u30822023\u5e74\u6642\u70b9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u304b\u3089\u306e\u56de\u7b54\u3067\u9593\u9055\u3044\u306a\u3055\u305d\u3046\u3067\u3059\uff01\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12597\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7.png\" alt=\"\" width=\"842\" height=\"564\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7.png 842w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-300x200.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-768x514.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111023_1418_7-718x481.png 718w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"ChatGPT%E3%80%8CGPT-4_Turbo%E3%80%8D%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AEAPI%E3%81%A8%E9%80%A3%E6%90%BA%E3%81%99%E3%82%8BVBA%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E8%AA%AC%E6%98%8E\"><\/span>ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308bVBA\u30b3\u30fc\u30c9\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>ChatGPT API\u3068\u9023\u643a\u3059\u308bVBA\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<br \/>\n\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strModel = &quot;gpt-4-1106-preview&quot;<\/code><\/div>\n<p>ChatGPT\u3078\u306e\u8cea\u554f\u5185\u5bb9\u3092\u53d6\u5f97\u3057\u3055\u3089\u306b\u6539\u884c\u30b3\u30fc\u30c9\u3092\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strTextToPredict = Replace(Sheets(1).Range(&quot;B1&quot;).Text, Chr(10), &quot;\\n&quot;)<\/code><\/div>\n<p>HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u521d\u671f\u5316\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objhttp = CreateObject(&quot;MSXML2.XMLHTTP&quot;)<\/code><\/div>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30d8\u30c3\u30c0\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>.Open &quot;POST&quot;, apiUrl, False<br \/>\n.setRequestHeader &quot;Content-Type&quot;, &quot;application\/json&quot;<br \/>\n.setRequestHeader &quot;Authorization&quot;, &quot;Bearer &quot; &amp; APIKey<\/code><\/div>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u6587\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strRequestBody = &quot;{&quot;&quot;model&quot;&quot;:&quot;&quot;&quot; &amp; strModel &amp; &quot;&quot;&quot;, &quot;&quot;messages&quot;&quot;:&quot; &amp; strMessages &amp; &quot;}&quot;<\/code><\/div>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>.send strRequestBody<\/code><\/div>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30bf\u30b9\u304c200\u3067\u3042\u308c\u3070\u6210\u529f\u3068\u307f\u306a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>If .Status = 200 Then<br \/>\nstrResponse = .responseText<br \/>\nElse<br \/>\nMsgBox &quot;\u30a8\u30e9\u30fc: &quot; &amp; .Status &amp; &quot; - &quot; &amp; .statusText<br \/>\nExit Sub<br \/>\nEnd If<\/code><\/div>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u60c5\u5831\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u307e\u3059\uff61\u4e0d\u8981\u3067\u3042\u308c\u3070\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\uff61<\/p>\n<div class=\"info\"><code>Debug.Print .responseText<\/code><\/div>\n<p>JSON\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30d1\u30fc\u30b9\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set jsonResponse = JsonConverter.ParseJson(strResponse)<\/code><\/div>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u542b\u307e\u308c\u308b\u914d\u5217\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u90e8\u5206\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\u3001&#8221;assistant&#8221;\u3067\u3042\u308b\u5834\u5408\u306e\u6761\u4ef6\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>If jsonResponse(&quot;choices&quot;)(1)(&quot;message&quot;)(&quot;role&quot;) = &quot;assistant&quot; Then<br \/>\nEnd If<\/code><\/div>\n<p>\u56de\u7b54\u3067\u3042\u308b&#8221;assistant&#8221;\u306e&#8221;content&#8221;\u306e\u5185\u5bb9\u3092\u30bb\u30eb\u306b\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Sheets(1).Range(&quot;B3&quot;).Value = jsonResponse(&quot;choices&quot;)(1)(&quot;message&quot;)(&quot;content&quot;)<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\"><\/span>VBA\u306e\u5b9f\u88c5\u624b\u9806<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5b9f\u88c5\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>Excel\u5074\u306bVBA\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u2460Excel\u3092\u65b0\u898f\u306b\u958b\u304d\u3001\u300c\u958b\u767a\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cVisualBasic\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u3082\u3057\u304f\u306f\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u300cAlt\u300d\uff0b\u300cF11\u300d\u3067\u3082OK\u3067\u3059\u3002<\/p>\n<p>\u2461\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u5de6\u30da\u30a4\u30f3\u306eVBAProject\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u633f\u5165\u300d\u3001\u300c\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio2.png\" alt=\"\" \/>\n<p>\u2462\u53f3\u30da\u30a4\u30f3\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u4e0a\u8a18\u306eVBA\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1680\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/09\/092219_1211_temp22.png\" alt=\"\" width=\"1395\" height=\"879\" \/><\/p>\n<p>\u3053\u3061\u3089\u3067\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3067\u306f\u65e9\u901fVBA\u306e\u5b9f\u884c\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u2460\u300c\u958b\u767a\u300d\u30bf\u30d6\u306e\u300cVBA\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u5b9f\u884c\u3057\u305f\u3044\u30de\u30af\u30ed\u3092\u9078\u629e\u3057\u3001\u300c<strong>\u5b9f\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u2461\u51e6\u7406\u304c\u3055\u308c\u305f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Powershell%E3%81%A7%E3%81%8B%E3%82%93%E3%81%9F%E3%82%93%E3%81%ABChatGPT-4_Turbo%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99%E6%96%B9%E6%B3%95\"><\/span>Powershell\u3067\u304b\u3093\u305f\u3093\u306bChatGPT-4 Turbo\u3092\u52d5\u304b\u3059\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Powershell\u3067\u304b\u3093\u305f\u3093\u306bChatGPT-4 Turbo\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u3082\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a\u6c17\u697d\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u300cGPT-4 Turbo\u300d\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\u3044\u65b9\u306b\u304a\u3059\u3059\u3081\u3067\u3059\uff01<\/p>\n<div class=\"info\"><a href=\"https:\/\/extan.jp\/?p=12236\">PowerShell\u3067ChatGPT-4 Turbo\u3092\u52d5\u304b\u3059\u65b9\u6cd5 \uff01<\/a><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Python%E3%81%A7ChatGPT%E3%81%AE%E5%9B%9E%E7%AD%94%E3%82%92Excel%E3%81%B8%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>Python\u3067ChatGPT\u306e\u56de\u7b54\u3092Excel\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Python\u3067ChatGPT\u306e\u56de\u7b54\u3092Excel\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u5225\u8a18\u4e8b\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<br \/>\n\u5b9f\u306f\u3053\u3061\u3089\u306e\u65b9\u304c\u30b3\u30fc\u30c9\u304c\u77ed\u304f\u6e08\u307f\u307e\u3059\u3002<br \/>\n\u3069\u3046\u305e\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><a href=\"https:\/\/extan.jp\/?p=11360\">Python\u3067ChatGPT\u306e\u56de\u7b54\u3092Excel\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01xlwings\u4f7f\u7528\uff01<\/a><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"endinfo\">\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u7167\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3057\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c&#8230;<\/p>\n","protected":false},"author":1,"featured_media":12599,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[245,6],"tags":[209],"class_list":{"0":"post-12588","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-chatgpt","8":"category-excelvba","9":"tag-chatgpt","10":"article cf"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=12588\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"og:description\" content=\"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=12588\" \/>\n<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-10T14:55:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-08T15:14:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png\" \/>\n\t<meta property=\"og:image:width\" content=\"857\" \/>\n\t<meta property=\"og:image:height\" content=\"607\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"19\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/extan.jp\/#website\",\"url\":\"https:\/\/extan.jp\/\",\"name\":\"\u30a8\u30af\u77ed\uff5cExtan.jp\",\"description\":\"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/extan.jp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/?p=12588#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png\",\"contentUrl\":\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png\",\"width\":857,\"height\":607,\"caption\":\"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extan.jp\/?p=12588#webpage\",\"url\":\"https:\/\/extan.jp\/?p=12588\",\"name\":\"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\",\"isPartOf\":{\"@id\":\"https:\/\/extan.jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extan.jp\/?p=12588#primaryimage\"},\"datePublished\":\"2023-11-10T14:55:51+00:00\",\"dateModified\":\"2025-03-08T15:14:37+00:00\",\"author\":{\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\"},\"description\":\"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/extan.jp\/?p=12588#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extan.jp\/?p=12588\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extan.jp\/?p=12588#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/extan.jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\",\"name\":\"\u30bf\u30ab\u30d2\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"caption\":\"\u30bf\u30ab\u30d2\u30ed@extan\"},\"url\":\"https:\/\/extan.jp\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/extan.jp\/?p=12588","og_locale":"ja_JP","og_type":"article","og_title":"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","og_description":"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","og_url":"https:\/\/extan.jp\/?p=12588","og_site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","article_published_time":"2023-11-10T14:55:51+00:00","article_modified_time":"2025-03-08T15:14:37+00:00","og_image":[{"width":857,"height":607,"url":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30bf\u30ab\u30d2\u30ed@extan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"19\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extan.jp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=12588#primaryimage","inLanguage":"ja","url":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png","contentUrl":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/str-196.png","width":857,"height":607,"caption":"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01"},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=12588#webpage","url":"https:\/\/extan.jp\/?p=12588","name":"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=12588#primaryimage"},"datePublished":"2023-11-10T14:55:51+00:00","dateModified":"2025-03-08T15:14:37+00:00","author":{"@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a"},"description":"\u30fbExcel\u306bChatGPT\u306e\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u3067\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3092\u4f7f\u3044ChatGPT\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306eAPI\u3068\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/extan.jp\/?p=12588#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extan.jp\/?p=12588"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=12588#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp\/"},{"@type":"ListItem","position":2,"name":"Excel\u306b\u300cGPT-4 Turbo\u300d\u30e2\u30c7\u30eb\u306e\u56de\u7b54\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\uff01VBA\u3067API\u9023\u643a\uff01"}]},{"@type":"Person","@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/#personlogo","inLanguage":"ja","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","caption":"\u30bf\u30ab\u30d2\u30ed@extan"},"url":"https:\/\/extan.jp\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/12588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12588"}],"version-history":[{"count":8,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/12588\/revisions"}],"predecessor-version":[{"id":12605,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/12588\/revisions\/12605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/12599"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}