{"id":14355,"date":"2025-03-20T18:58:59","date_gmt":"2025-03-20T09:58:59","guid":{"rendered":"https:\/\/extan.jp\/?p=14355"},"modified":"2025-03-20T19:36:00","modified_gmt":"2025-03-20T10:36:00","slug":"excel%e3%81%a7csv%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%96%87%e5%ad%97%e5%8c%96%e3%81%91%e3%81%9b%e3%81%9a%e3%81%ab%e9%96%8b%e3%81%8f%e6%96%b9%e6%b3%95%ef%bc%81%e3%83%a1%e3%83%a2%e5%b8%b3","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=14355","title":{"rendered":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01"},"content":{"rendered":"<p data-pm-slice=\"1 1 []\">CSV\u30d5\u30a1\u30a4\u30eb\u3092Excel\u3067\u958b\u304f\u3068\u3001\u6587\u5b57\u5316\u3051\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\n<ul data-spread=\"false\">\n<li>UTF-8 \u306eCSV\u3092Excel\u3067\u958b\u304f\u3068\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046<\/li>\n<li>\u624b\u8efd\u306bUTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044<\/li>\n<li>VBA\u3092\u4f7f\u3063\u3066\u81ea\u52d5\u3067UTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db\u3057\u305f\u3044<\/li>\n<\/ul>\n<\/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\">\n<ul data-spread=\"false\">\n<li>\u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066UTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/li>\n<li>VBA\u3092\u4f7f\u3063\u3066CSV\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/li>\n<\/ul>\n<\/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_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3082\u304f\u3058<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<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=14355\/#CSV%E3%81%AE%E6%96%87%E5%AD%97%E5%8C%96%E3%81%91%E3%82%92%E9%98%B2%E3%81%90%E6%96%B9%E6%B3%95\" >CSV\u306e\u6587\u5b57\u5316\u3051\u3092\u9632\u3050\u65b9\u6cd5<\/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=14355\/#1_%E3%83%A1%E3%83%A2%E5%B8%B3%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6UTF-8%E3%82%92Shift_JIS%E3%81%AB%E5%A4%89%E6%8F%9B\" >1. \u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066UTF-8\u3092Shift_JIS\u306b\u5909\u63db<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=14355\/#%E6%89%8B%E9%A0%86\" >\u624b\u9806<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=14355\/#2_VBA%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6UTF-8%E3%81%8B%E3%82%89Shift_JIS%E3%81%AB%E5%A4%89%E6%8F%9B\" >2. VBA\u3092\u4f7f\u3063\u3066UTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=14355\/#VBA%E3%82%B3%E3%83%BC%E3%83%89\" >VBA\u30b3\u30fc\u30c9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=14355\/#%E6%89%8B%E9%A0%86-2\" >\u624b\u9806<\/a><\/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=14355\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E\" >VBA\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-8\" href=\"https:\/\/extan.jp\/?p=14355\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"CSV%E3%81%AE%E6%96%87%E5%AD%97%E5%8C%96%E3%81%91%E3%82%92%E9%98%B2%E3%81%90%E6%96%B9%E6%B3%95\"><\/span>CSV\u306e\u6587\u5b57\u5316\u3051\u3092\u9632\u3050\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067Shift_JIS\u306eCSV\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001UTF-8\u306eCSV\u3092\u76f4\u63a5\u958b\u304f\u3068\u6587\u5b57\u5316\u3051\u3057\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14361\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_4.png\" alt=\"\" width=\"513\" height=\"292\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_4.png 513w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_4-300x171.png 300w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/>\n<p>\u3053\u3093\u306a\u6642\u306f\u3001<\/p>\n<div class=\"c_box intitle pink_box\"><div class=\"box_title\"><span>POINT<\/span><\/div>\n<ul data-spread=\"false\">\n<li>\u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066UTF-8\u3092Shift_JIS\u306b\u5909\u63db<\/li>\n<li>VBA\u3092\u4f7f\u3063\u3066CSV\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092Shift_JIS\u306b\u5909\u63db<\/li>\n<\/ul>\n<\/div>\n\u306a\u3069\u306e\u65b9\u6cd5\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u5177\u4f53\u7684\u306a\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2><span class=\"ez-toc-section\" id=\"1_%E3%83%A1%E3%83%A2%E5%B8%B3%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6UTF-8%E3%82%92Shift_JIS%E3%81%AB%E5%A4%89%E6%8F%9B\"><\/span>1. \u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066UTF-8\u3092Shift_JIS\u306b\u5909\u63db<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u307e\u305a\u306f\u3060\u308c\u3067\u3082\u7c21\u5358\u306b\u3067\u304d\u308b\u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066\u3001CSV\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u5316\u3051\u3092\u89e3\u6d88\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\n\u6587\u5b57\u5316\u3051CSV\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u5143\u306b\u7528\u610f\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E6%89%8B%E9%A0%86\"><\/span>\u624b\u9806<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol start=\"1\" data-spread=\"false\">\n<li>CSV\u30d5\u30a1\u30a4\u30eb\u3092\u300c\u30e1\u30e2\u5e33\u300d\u3067\u958b\u304f<\/li>\n<li>\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u2192\u300c\u540d\u524d\u3092\u4ed8\u3051\u3066\u4fdd\u5b58\u300d\u3092\u9078\u629e<\/li>\n<li>\u300c\u6587\u5b57\u30b3\u30fc\u30c9\u300d\u3092 Shift_JIS\uff08ANSI\uff09 \u306b\u5909\u66f4<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14360\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_008_4.png\" alt=\"\" width=\"876\" height=\"427\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_008_4.png 876w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_008_4-300x146.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_008_4-768x374.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_008_4-718x350.png 718w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/li>\n<li>\u300c\u4fdd\u5b58\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066CSV\u3092\u4e0a\u66f8\u304d\u3059\u308b<\/li>\n<\/ol>\n<p>Excel\u3067\u958b\u304f\u3068\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14358\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_006_4.png\" alt=\"\" width=\"268\" height=\"230\" \/><\/p>\n<div class=\"c_box intitle pink_box\"><div class=\"box_title\"><span>POINT<\/span><\/div>\n<ul data-spread=\"false\">\n<li>\u624b\u8efd\u306b\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5909\u63db\u3067\u304d\u308b<\/li>\n<li>Excel\u3067\u958b\u304f\u524d\u306b\u4e00\u5ea6\u30e1\u30e2\u5e33\u3067\u4fdd\u5b58\u3059\u308b\u624b\u9593\u304c\u304b\u304b\u308b<\/li>\n<\/ul>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"2_VBA%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6UTF-8%E3%81%8B%E3%82%89Shift_JIS%E3%81%AB%E5%A4%89%E6%8F%9B\"><\/span>2. VBA\u3092\u4f7f\u3063\u3066UTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6b21\u306b\u5c11\u3057\u6280\u8853\u30ec\u30d9\u30eb\u306f\u4e0a\u304c\u308a\u307e\u3059\u304c\u3001Excel VBA\u3092\u4f7f\u3063\u3066\u3001CSV\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092UTF-8\u304b\u3089Shift_JIS\u306b\u81ea\u52d5\u5909\u63db\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3092\u30c4\u30fc\u30eb\u3068\u3057\u3066\u5e38\u5099\u3057\u3066\u304a\u3051\u3070\u3001\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u3067CSV\u306e\u6587\u5b57\u5316\u3051\u3092\u89e3\u6d88\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306fVBA\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>VBA\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub ConvertUTF8ToShiftJIS()\n    Dim inputFile As String, outputFile As String\n    inputFile = Sheets(1).Range(&quot;B2&quot;).Value &amp; &quot;\\&quot; &amp; Sheets(1).Range(&quot;C2&quot;).Value &#039; \u5909\u63db\u3059\u308bCSV\u30d5\u30a1\u30a4\u30eb\n    outputFile = Sheets(1).Range(&quot;B3&quot;).Value &amp; &quot;\\&quot; &amp; Sheets(1).Range(&quot;C3&quot;).Value  &#039; Shift_JIS \u306b\u5909\u63db\u5f8c\u306eCSV\u30d5\u30a1\u30a4\u30eb\n    \n    Dim inputStream As Object, outputStream As Object\n    Set inputStream = CreateObject(&quot;ADODB.Stream&quot;)\n    Set outputStream = CreateObject(&quot;ADODB.Stream&quot;)\n    \n    &#039; UTF-8\u3067\u8aad\u307f\u8fbc\u307f\n    inputStream.Type = 2\n    inputStream.Charset = &quot;utf-8&quot;\n    inputStream.Open\n    inputStream.LoadFromFile inputFile\n    \n    &#039; Shift_JIS \u3067\u66f8\u304d\u8fbc\u307f\n    outputStream.Type = 2\n    outputStream.Charset = &quot;Shift_JIS&quot;\n    outputStream.Open\n    outputStream.WriteText inputStream.ReadText\n    outputStream.SaveToFile outputFile, 2\n    \n    &#039; \u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u9589\u3058\u308b\n    inputStream.Close\n    outputStream.Close\n    Set inputStream = Nothing\n    Set outputStream = Nothing\n    \n    MsgBox &quot;CSV\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092Shift_JIS\u306b\u5909\u63db\u3057\u307e\u3057\u305f\uff01&quot;, vbInformation\nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"%E6%89%8B%E9%A0%86-2\"><\/span>\u624b\u9806<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>VBA\u30b3\u30fc\u30c9\u3092\u5b9f\u88c5<\/h4>\n<p>\u307e\u305a\u306f\u3001\u30a8\u30af\u30bb\u30eb\u3092\u958b\u304d\u3001VBA\u30b3\u30fc\u30c9\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li>Excel\u306eVBA\u30a8\u30c7\u30a3\u30bf\u3092\u958b\u304f\uff08<code>Alt + F11<\/code>\uff09<\/li>\n<li>\u300c\u633f\u5165\u300d\u2192\u300c\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u300d\u3092\u8ffd\u52a0<\/li>\n<li>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u8cbc\u308a\u4ed8\u3051<\/li>\n<li><code>inputFile<\/code> \u3068 <code>outputFile<\/code> \u306e\u30d1\u30b9\u3092\u81ea\u5206\u306e\u74b0\u5883\u306b\u5909\u66f4<\/li>\n<li><code>ConvertUTF8ToShiftJIS<\/code> \u3092\u5b9f\u884c<\/li>\n<\/ol>\n<h4>\u30dc\u30bf\u30f3\u3092\u5b9f\u88c5<\/h4>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u30dc\u30bf\u30f3\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li data-start=\"215\" data-end=\"238\"><strong data-start=\"218\" data-end=\"226\">[\u958b\u767a]<\/strong> \u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3002<\/li>\n<li data-start=\"239\" data-end=\"311\"><strong data-start=\"242\" data-end=\"250\">[\u633f\u5165]<\/strong> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3001<strong data-start=\"258\" data-end=\"275\">[\u30d5\u30a9\u30fc\u30e0 \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb]<\/strong> \u306e <strong data-start=\"278\" data-end=\"303\">\u30dc\u30bf\u30f3\uff08\u30dc\u30bf\u30f3: \u30d5\u30a9\u30fc\u30e0 \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\uff09<\/strong> \u3092\u9078\u629e\u3002<\/li>\n<li data-start=\"312\" data-end=\"336\">\u30b7\u30fc\u30c8\u4e0a\u3067\u30c9\u30e9\u30c3\u30b0\u3057\u3001\u30dc\u30bf\u30f3\u3092\u914d\u7f6e\u3002<\/li>\n<li data-start=\"337\" data-end=\"396\"><strong data-start=\"340\" data-end=\"352\">[\u30de\u30af\u30ed\u306e\u767b\u9332]<\/strong> \u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u8a72\u5f53\u30de\u30af\u30ed\u540d\u3092\u9078\u629e\u3059\u308b\u3002<\/li>\n<\/ol>\n<h4>\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3092\u7528\u610f<\/h4>\n<p>\u6587\u5b57\u5316\u3051\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u30a8\u30af\u30bb\u30eb\u306e1\u30b7\u30fc\u30c8\u76ee\u304c\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002\u30b7\u30fc\u30c8\u540d\u306f\u4efb\u610f\u306e\u540d\u524d\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li data-start=\"215\" data-end=\"238\">1\u30b7\u30fc\u30c8\u76ee\u3092\u9078\u629e\u3002<\/li>\n<li data-start=\"239\" data-end=\"311\"><b>B2\u3001B3<\/b>\u5217\u3092\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u5165\u529b\u6b04\u3068\u3059\u308b\u67a0\u3092\u8a2d\u7f6e<\/li>\n<li data-start=\"239\" data-end=\"311\"><b>C2\u3001C3<\/b>\u5217\u3092\u30d5\u30a1\u30a4\u30eb\u540d\u5165\u529b\u6b04\u3068\u3059\u308b\u67a0\u3092\u8a2d\u7f6e<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14363\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4.png\" alt=\"\" width=\"1327\" height=\"242\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4.png 1327w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4-300x55.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4-1024x187.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4-768x140.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_003_4-718x131.png 718w\" sizes=\"auto, (max-width: 1327px) 100vw, 1327px\" \/><\/li>\n<\/ol>\n<p>\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3001VBA\u3092\u5b9f\u884c\u3057\u3001\u6587\u5b57\u5316\u3051\u304c\u89e3\u6d88\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5165\u529b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u305e\u308c\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<table width=\"462\">\n<tbody>\n<tr>\n<td width=\"182\">\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9<\/td>\n<td width=\"280\">\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<\/tr>\n<tr>\n<td>E:\\test<\/td>\n<td>sample.csv<\/td>\n<\/tr>\n<tr>\n<td>E:\\test\\Shift_JIS \u5909\u63db<\/td>\n<td>sample.csv<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6587\u5b57\u5316\u3051\u30d5\u30a1\u30a4\u30eb\u306e\u307b\u304b\u306b\u3001\u6587\u5b57\u5316\u3051\u4fee\u6b63\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u751f\u6210\u5148\u3068\u306a\u308b\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3082\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14374\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5.png\" alt=\"\" width=\"1628\" height=\"346\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5.png 1628w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5-300x64.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5-1024x218.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5-768x163.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5-1536x326.png 1536w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_001_5-718x153.png 718w\" sizes=\"auto, (max-width: 1628px) 100vw, 1628px\" \/>\n<p>\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001VBA\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14364\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_004_4.png\" alt=\"\" width=\"422\" height=\"221\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_004_4.png 422w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_004_4-300x157.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/>\n<p>\u3067\u306f\u3001\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14357\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_005_4.png\" alt=\"\" width=\"490\" height=\"247\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_005_4.png 490w, https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_005_4-300x151.png 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/p>\n<p>\u306f\u3044\u3001\u6587\u5b57\u5316\u3051\u304c\u89e3\u6d88\u3055\u308c\u307e\u3057\u305f\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14358\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/20250320_006_4.png\" alt=\"\" width=\"268\" height=\"230\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h4 data-start=\"119\" data-end=\"152\"><strong data-start=\"124\" data-end=\"152\">ADODB.Stream\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/strong><\/h4>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">    Dim inputStream As Object, outputStream As Object\n    Set inputStream = CreateObject(&quot;ADODB.Stream&quot;)\n    Set outputStream = CreateObject(&quot;ADODB.Stream&quot;)<\/code><\/pre>\n<p><code data-start=\"311\" data-end=\"325\">ADODB.Stream<\/code> \u306f\u30d0\u30a4\u30ca\u30ea\u3084\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u6271\u3048\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<br \/>\n<code data-start=\"353\" data-end=\"366\">inputStream<\/code> \u306f <strong data-start=\"369\" data-end=\"389\">UTF-8 \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080<\/strong>\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n<code data-start=\"398\" data-end=\"412\">outputStream<\/code> \u306f Shift_JIS \u306b\u5909\u63db\u3057\u3066\u66f8\u304d\u51fa\u3059\u3057\u307e\u3059\u3002<\/p>\n<h4 data-start=\"451\" data-end=\"479\"><strong data-start=\"456\" data-end=\"479\">UTF-8 \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080<\/strong><\/h4>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">    &#039; UTF-8\u3067\u8aad\u307f\u8fbc\u307f\n    inputStream.Type = 2\n    inputStream.Charset = &quot;utf-8&quot;\n    inputStream.Open\n    inputStream.LoadFromFile inputFile<\/code><\/pre>\n<ul data-start=\"665\" data-end=\"852\">\n<li data-start=\"665\" data-end=\"704\"><code data-start=\"667\" data-end=\"678\">.Type = 2<\/code> \u2192 \u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u30bf\u30a4\u30d7\u3092\u300c\u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\u300d\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li data-start=\"705\" data-end=\"755\"><code data-start=\"707\" data-end=\"727\">.Charset = &quot;utf-8&quot;<\/code> \u2192 \u8aad\u307f\u8fbc\u3080\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092UTF-8 \u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li data-start=\"756\" data-end=\"790\"><code data-start=\"758\" data-end=\"765\">.Open<\/code> \u2192 \u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u958b\u304d\u307e\u3059\uff08\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u6e96\u5099\uff09\u3002<\/li>\n<li data-start=\"791\" data-end=\"852\"><code data-start=\"793\" data-end=\"818\">.LoadFromFile inputFile<\/code> \u2192 \u6307\u5b9a\u3055\u308c\u305f <code data-start=\"827\" data-end=\"838\">inputFile<\/code> \u3092UTF-8 \u3067\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>Shift_JIS \u5f62\u5f0f\u3067\u66f8\u304d\u51fa\u3059<\/h4>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">    &#039; Shift_JIS \u3067\u66f8\u304d\u8fbc\u307f\n    outputStream.Type = 2\n    outputStream.Charset = &quot;Shift_JIS&quot;\n    outputStream.Open\n    outputStream.WriteText inputStream.ReadText\n    outputStream.SaveToFile outputFile, 2<\/code><\/pre>\n<ul data-start=\"1168\" data-end=\"1495\">\n<li data-start=\"1168\" data-end=\"1195\"><code data-start=\"1170\" data-end=\"1181\">.Type = 2<\/code> \u2192 \u30c6\u30ad\u30b9\u30c8\u30e2\u30fc\u30c9\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li data-start=\"1196\" data-end=\"1250\"><code data-start=\"1198\" data-end=\"1222\">.Charset = &quot;Shift_JIS&quot;<\/code> \u2192 \u66f8\u304d\u8fbc\u3080\u6587\u5b57\u30b3\u30fc\u30c9\u3092 Shift_JIS \u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/li>\n<li data-start=\"1251\" data-end=\"1277\"><code data-start=\"1253\" data-end=\"1260\">.Open<\/code> \u2192 \u66f8\u304d\u8fbc\u307f\u7528\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u958b\u304d\u307e\u3059\u3002<\/li>\n<li data-start=\"1278\" data-end=\"1384\"><code data-start=\"1280\" data-end=\"1313\">.WriteText inputStream.ReadText<\/code> \u2192 <code data-start=\"1316\" data-end=\"1329\">inputStream<\/code> \u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060 UTF-8 \u30c7\u30fc\u30bf\u3092 <code data-start=\"1349\" data-end=\"1363\">outputStream<\/code> \u306b Shift_JIS \u5f62\u5f0f\u3067\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/li>\n<li data-start=\"1385\" data-end=\"1495\"><code data-start=\"1387\" data-end=\"1414\">.SaveToFile outputFile, 2<\/code> \u2192 <code data-start=\"1417\" data-end=\"1429\">outputFile<\/code> \u306b Shift_JIS \u5f62\u5f0f\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002\n<ul data-start=\"1451\" data-end=\"1495\">\n<li data-start=\"1451\" data-end=\"1495\">\u306a\u304a\u30012\u306f\u4e0a\u66f8\u304d\u4fdd\u5b58\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4 data-start=\"1502\" data-end=\"1527\"><strong data-start=\"1507\" data-end=\"1527\">\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u30af\u30ed\u30fc\u30ba\u3068\u89e3\u653e<\/strong><\/h4>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\">\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">    &#039; \u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u9589\u3058\u308b\n    inputStream.Close\n    outputStream.Close\n    Set inputStream = Nothing\n    Set outputStream = Nothing<\/code><\/pre>\n<ul data-start=\"1677\" data-end=\"1735\">\n<li data-start=\"1677\" data-end=\"1703\"><code data-start=\"1679\" data-end=\"1687\">.Close<\/code> \u2192 \u958b\u3044\u305f\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u9589\u3058\u307e\u3059\u3002<\/li>\n<li data-start=\"1704\" data-end=\"1735\"><code data-start=\"1706\" data-end=\"1725\">Set ... = Nothing<\/code> \u2192 \u30e1\u30e2\u30ea\u3092\u89e3\u653e\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4 data-start=\"1742\" data-end=\"1766\"><strong data-start=\"1747\" data-end=\"1766\">\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a<\/strong><\/h4>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">    MsgBox &quot;CSV\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092Shift_JIS\u306b\u5909\u63db\u3057\u307e\u3057\u305f\uff01&quot;, vbInformation<\/code><\/pre>\n<p>\u5909\u63db\u304c\u5b8c\u4e86\u3057\u305f\u30e9\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9\u306f\u9069\u5b9c\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\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\">\n<ul data-spread=\"false\">\n<li>\u30e1\u30e2\u5e33\u3092\u4f7f\u3063\u3066UTF-8\u3092Shift_JIS\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/li>\n<li>VBA\u3092\u4f7f\u3063\u3066CSV\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/li>\n<\/ul>\n<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>Excel\u3067CSV\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u306b\u306f\u3001Shift_JIS\u306b\u5909\u63db\u3059\u308b\u306e\u304c\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u3059\u3002\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u65b9\u6cd5\u3092\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSV\u30d5\u30a1\u30a4\u30eb\u3092Excel\u3067\u958b\u304f\u3068\u3001\u6587\u5b57\u5316\u3051\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 UTF-8 \u306eCSV\u3092Excel\u3067\u958b\u304f\u3068\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046 \u624b\u8efd\u306bUTF-8\u304b\u3089Shift_JIS\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f&#8230;<\/p>\n","protected":false},"author":1,"featured_media":14365,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[219],"class_list":{"0":"post-14355","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"tag-csv","9":"article cf"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\"\/>\n\t<meta name=\"keywords\" content=\"csv\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=14355\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=14355\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-03-20T09:58:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-03-20T10:36:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#article\",\"name\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/str-229.png\",\"width\":1017,\"height\":507,\"caption\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01\"},\"datePublished\":\"2025-03-20T18:58:59+09:00\",\"dateModified\":\"2025-03-20T19:36:00+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#webpage\"},\"articleSection\":\"Excel VBA, csv\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/extan.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"position\":2,\"name\":\"Microsoft 365\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=47\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"position\":3,\"name\":\"Excel\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=17\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"position\":4,\"name\":\"Excel VBA\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#listItem\",\"name\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#listItem\",\"position\":5,\"name\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"url\":\"https:\\\/\\\/extan.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/extan.jp\\\/?author=1\",\"name\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=14355\",\"name\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/str-229.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355\\\/#mainImage\",\"width\":1017,\"height\":507,\"caption\":\"Excel\\u3067CSV\\u30d5\\u30a1\\u30a4\\u30eb\\u3092\\u6587\\u5b57\\u5316\\u3051\\u305b\\u305a\\u306b\\u958b\\u304f\\u65b9\\u6cd5\\uff01\\u30e1\\u30e2\\u5e33\\u3084VBA\\u3067\\u5bfe\\u5fdc\\uff01\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=14355#mainImage\"},\"datePublished\":\"2025-03-20T18:58:59+09:00\",\"dateModified\":\"2025-03-20T19:36:00+09:00\"},{\"@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\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=14355","robots":"max-image-preview:large","keywords":"csv","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=14355#article","name":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/str-229.png","width":1017,"height":507,"caption":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01"},"datePublished":"2025-03-20T18:58:59+09:00","dateModified":"2025-03-20T19:36:00+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=14355#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=14355#webpage"},"articleSection":"Excel VBA, csv"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=14355#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","position":2,"name":"Microsoft 365","item":"https:\/\/extan.jp\/?cat=47","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","position":3,"name":"Excel","item":"https:\/\/extan.jp\/?cat=17","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","position":4,"name":"Excel VBA","item":"https:\/\/extan.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=14355#listItem","name":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=14355#listItem","position":5,"name":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01","previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"}}]},{"@type":"Organization","@id":"https:\/\/extan.jp\/#organization","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","url":"https:\/\/extan.jp\/"},{"@type":"Person","@id":"https:\/\/extan.jp\/?author=1#author","url":"https:\/\/extan.jp\/?author=1","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=14355#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u30bf\u30ab\u30d2\u30ed@extan"}},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=14355#webpage","url":"https:\/\/extan.jp\/?p=14355","name":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=14355#breadcrumblist"},"author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"creator":{"@id":"https:\/\/extan.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2025\/03\/str-229.png","@id":"https:\/\/extan.jp\/?p=14355\/#mainImage","width":1017,"height":507,"caption":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=14355#mainImage"},"datePublished":"2025-03-20T18:58:59+09:00","dateModified":"2025-03-20T19:36:00+09:00"},{"@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","inLanguage":"ja","publisher":{"@id":"https:\/\/extan.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","og:type":"article","og:title":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=14355","article:published_time":"2025-03-20T09:58:59+00:00","article:modified_time":"2025-03-20T10:36:00+00:00","twitter:card":"summary","twitter:title":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"14355","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"created":"2026-06-24 15:27:45","updated":"2026-06-24 15:27:45","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=47\" title=\"Microsoft 365\">Microsoft 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=17\" title=\"Excel\">Excel<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=6\" title=\"Excel VBA\">Excel VBA<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExcel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/extan.jp"},{"label":"Microsoft 365","link":"https:\/\/extan.jp\/?cat=47"},{"label":"Excel","link":"https:\/\/extan.jp\/?cat=17"},{"label":"Excel VBA","link":"https:\/\/extan.jp\/?cat=6"},{"label":"Excel\u3067CSV\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u304f\u65b9\u6cd5\uff01\u30e1\u30e2\u5e33\u3084VBA\u3067\u5bfe\u5fdc\uff01","link":"https:\/\/extan.jp\/?p=14355"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/14355","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=14355"}],"version-history":[{"count":16,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/14355\/revisions"}],"predecessor-version":[{"id":14381,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/14355\/revisions\/14381"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/14365"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}