{"id":6509,"date":"2017-11-02T10:21:21","date_gmt":"2017-11-02T01:21:21","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=6509"},"modified":"2017-11-02T10:22:50","modified_gmt":"2017-11-02T01:22:50","slug":"vbatexttocolumn_parse","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/vbatexttocolumn_parse\/","title":{"rendered":"\u30bb\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u8907\u6570\u306e\u30bb\u30eb\u306b\u5206\u5272\u3059\u308b\uff08TextToColumns \u30e1\u30bd\u30c3\u30c9\u30fbParse \u30e1\u30bd\u30c3\u30c9\uff09"},"content":{"rendered":"<h2>\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u30bb\u30eb\u3092\u5206\u5272<\/h2>\n<div class=\"m30-l\">\n<p>TextToColumns \u30e1\u30bd\u30c3\u30c9\u3084 Parse \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u30bb\u30eb\u5185\u306e\u30c7\u30fc\u30bf\u3092\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u8907\u6570\u306e\u30bb\u30eb\u306b\u5206\u5272\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n    \u2192\u300c\u533a\u5207\u308a\u6587\u5b57\u300d\u3067\u5206\u5272\u3059\u308b\u5834\u5408\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f <a href=\"https:\/\/excelwork.info\/excel\/vbatexttocolumns\/\">\u30bb\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u533a\u5207\u308a\u6587\u5b57\u3067\u8907\u6570\u306e\u30bb\u30eb\u306b\u5206\u5272\u3059\u308b\uff08TextToColumns \u30e1\u30bd\u30c3\u30c9\uff09<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<br \/>\n<h3>TextToColumns \u30e1\u30bd\u30c3\u30c9<\/h3>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>TextToColumns<\/strong> ( <em>Destination<\/em>, <em>DataType<\/em>, <em>TextQualifier<\/em>, <em>ConsecutiveDelimiter<\/em>, <em>Tab<\/em>, <em>Semicolon<\/em>, <em>Comma<\/em>, <em>Space<\/em>, <em>Other<\/em>, <em>OtherChar<\/em>, <em>FieldInfo<\/em>, <em>DecimalSeparator<\/em>, <em>ThousandsSeparator<\/em>, <em>TrailingMinusNumbers<\/em> )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>Destination&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u7d50\u679c\u306e\u51fa\u529b\u5148\uff08Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u3092\u6307\u5b9a\u3002\u7701\u7565\u3059\u308b\u3068\u5143\u30c7\u30fc\u30bf\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u30bb\u30eb\u304c\u8d77\u70b9\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>DataType&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8907\u6570\u30bb\u30eb\u306b\u5206\u5272\u3059\u308b\u5f62\u5f0f\u3092 <strong>XlTextParsingType \u5217\u6319<\/strong>\u306e\u5b9a\u6570\uff08\u5024\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlDelimited<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u533a\u5207\u308a\u6587\u5b57\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlFixedWidth<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u56fa\u5b9a\u5e45<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>TextQualifier&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u6587\u5b57\u5217\u306b\u4f7f\u7528\u3059\u308b\u5f15\u7528\u7b26\u3092 <strong>XlTextQualifier \u5217\u6319<\/strong>\u306e\u5b9a\u6570\uff08\u5024\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlTextQualifierDoubleQuote<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u4e8c\u91cd\u5f15\u7528\u7b26\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlTextQualifierSingleQuote<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u4e00\u91cd\u5f15\u7528\u7b26<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlTextQualifierNone<\/td>\n<td width=\"50\" align = \"center\">-4142<\/td>\n<td width=\"400\">\u5f15\u7528\u7b26\u306a\u3057<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>ConsecutiveDelimiter&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u9023\u7d9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3092 1 \u3064\u306e\u533a\u5207\u308a\u6587\u5b57\u3068\u3057\u3066\u8a8d\u8b58\u3057\u307e\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b>\u3002<\/li>\n<li>Tab&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5f15\u6570 <em>DataType<\/em> \u306f <b>xlDelimited<\/b> \u3067\u533a\u5207\u308a\u6587\u5b57\u304c<b>\u30bf\u30d6\u6587\u5b57<\/b>\u3067\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b>\u3002<\/li>\n<li>Semicolon&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5f15\u6570 <em>DataType<\/em> \u306f<br \/>\n <b>xlDelimited<\/b> \u3067\u533a\u5207\u308a\u6587\u5b57\u304c<b>\u30bb\u30df\u30b3\u30ed\u30f3\uff08;\uff09<\/b>\u3067\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b>\u3002<\/li>\n<li>Comma&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5f15\u6570 <em>DataType<\/em> \u306f <b>xlDelimited<\/b> \u3067\u533a\u5207\u308a\u6587\u5b57\u304c<b>\u30b3\u30f3\u30de\uff08,\uff09<\/b>\u3067\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b>\u3002<\/li>\n<li>Space&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5f15\u6570 <em>DataType<\/em> \u306f <b>xlDelimited<\/b> \u3067\u533a\u5207\u308a\u6587\u5b57\u304c<b>\u30b9\u30da\u30fc\u30b9<\/b>\u3067\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b> \u3002<\/li>\n<li>Other&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<b>True<\/b> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u5f15\u6570 <em>DataType<\/em> \u306f <b>xlDelimited<\/b> \u3067\u533a\u5207\u308a\u6587\u5b57\u304c\u5f15\u6570 <em>OtherChar<\/em> \u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u3067\u3059\u3002\u65e2\u5b9a\u5024\u306f <b>False<\/b>\u3002<\/li>\n<li>OtherChar&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>Other<\/em> \u304c <b>True<\/b> \u306e\u5834\u5408\u306e\u533a\u5207\u308a\u6587\u5b57\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u8907\u6570\u306e\u6587\u5b57\u3092\u6307\u5b9a\u3057\u305f\u3068\u304d\u306f\u3001\u5148\u982d\u306e\u6587\u5b57\u3060\u3051\u304c\u533a\u5207\u308a\u6587\u5b57\u3068\u3057\u3066\u4f7f\u308f\u308c\u3001\u6b8b\u308a\u306e\u6587\u5b57\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>FieldInfo&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u533a\u5207\u308a\u5f8c\u306e\u5217\u306e\u30c7\u30fc\u30bf\u5f62\u5f0f\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u6301\u3064\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>DecimalSeparator&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;Excel \u3067\u6570\u5024\u3092\u8a8d\u8b58\u3059\u308b\u5834\u5408\u306b\u4f7f\u3046\u5c0f\u6570\u70b9\u306e\u8a18\u53f7\u3067\u3059\u3002\u65e2\u5b9a\u306f\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u3067\u3059\u3002<\/li>\n<li>ThousandsSeparator&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;Excel \u3067\u6570\u5024\u3092\u8a8d\u8b58\u3059\u308b\u5834\u5408\u306b\u4f7f\u3046\u6841\u533a\u5207\u308a\u8a18\u53f7\u3067\u3059\u3002\u65e2\u5b9a\u306f\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u3067\u3059\u3002<\/li>\n<li>TrailingMinusNumbers&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8ca0\u8a18\u53f7\u3067\u59cb\u307e\u308b\u6570\u5024\u3067\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u5f15\u6570 <b><em>FieldInfo<\/em><\/b> \u306b\u3064\u3044\u3066<br \/>\n      \u5206\u5272\u5f8c\u306e\u5217\u306b\u5bfe\u3057\u3066\u306e\u8868\u793a\u5f62\u5f0f\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5f15\u6570 <em>DataType<\/em> \u306e\u5024\u304c <b>xlFixedWidth<\/b> \u306e\u5834\u5408\uff08\u30c7\u30fc\u30bf\u304c\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u5834\u5408\uff09\u306e <b><em>FieldInfo<\/em><\/b> \u306b\u306f\u3001<strong>Array ( \u958b\u59cb\u4f4d\u7f6e, \u8868\u793a\u5f62\u5f0f )<\/strong> \u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002\u300c\u958b\u59cb\u4f4d\u7f6e\u300d\u306f\u3001\u5143\u306e\u30bb\u30eb\u306b\u3042\u308b\u6587\u5b57\u5217\u306e\u4f4d\u7f6e\u3092\u30d0\u30a4\u30c8\u6570\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u300c\u8868\u793a\u5f62\u5f0f\u300d\u306f\u3001<strong>XlColumnDataType \u5217\u6319<\/strong> \u306e\u5b9a\u6570\uff08\u5024\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlGeneralFormat<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u4e00\u822c\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlTextFormat<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlMDYFormat<\/td>\n<td width=\"50\" align = \"center\">3<\/td>\n<td width=\"400\">MDY \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlDMYFormat<\/td>\n<td width=\"50\" align = \"center\">4<\/td>\n<td width=\"400\">DMY \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlYMDFormat<\/td>\n<td width=\"50\" align = \"center\">5<\/td>\n<td width=\"400\">YMD \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlMYDFormat<\/td>\n<td width=\"50\" align = \"center\">6<\/td>\n<td width=\"400\">MYD \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlDYMFormat<\/td>\n<td width=\"50\" align = \"center\">7<\/td>\n<td width=\"400\">DYM \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlYDMFormat<\/td>\n<td width=\"50\" align = \"center\">8<\/td>\n<td width=\"400\">YDM \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlSkipColumn<\/td>\n<td width=\"50\" align = \"center\">9<\/td>\n<td width=\"400\">\u8ee2\u8a18\u3057\u307e\u305b\u3093<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">xlEMDFormat<\/td>\n<td width=\"50\" align = \"center\">10<\/td>\n<td width=\"400\">EMD \u65e5\u4ed8\u5f62\u5f0f<\/td>\n<\/tr>\n<\/table>\n<p>\n    <br \/>\n  <\/div>\n<br \/>\n<h3>Parse \u30e1\u30bd\u30c3\u30c9<\/h3>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Parse<\/strong> [ ( <em>ParseLine<\/em>, <em>Destination<\/em> ) ]<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>ParseLine&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c7\u30fc\u30bf\u306e\u533a\u5207\u308a\u4f4d\u7f6e\u3092\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<b>x<\/b> \u3067\uff11\u6587\u5b57\u3092\u8868\u3057\u3001<b>[<\/b> \u3068 <b>]<\/b> \u3067\u56f2\u307e\u308c\u305f\u90e8\u5206\u304c\uff11\u3064\u306e\u30bb\u30eb\u306b\u5165\u529b\u3055\u308c\u307e\u3059\u3002<b>[<\/b> \u3068 <b>]<\/b> \u3067\u56f2\u307e\u308c\u3066\u3044\u306a\u3044\u90e8\u5206\u306b\u3064\u3044\u3066\u306f\u30bb\u30eb\u306b\u5165\u529b\u3055\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>Destination&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u7d50\u679c\u306e\u51fa\u529b\u5148\uff08Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff09\u3092\u6307\u5b9a\u3002\u7701\u7565\u3059\u308b\u3068\u5143\u30c7\u30fc\u30bf\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u30bb\u30eb\u304c\u8d77\u70b9\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/><\/div>\n<\/div>\n<br \/><br \/>\n<h2>TextToColumns \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"TextToColumns \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_TextToColumns2()\r\n\r\n    Dim Rng As Range\r\n    Dim myRng As Range\r\n    Set myRng = Worksheets(\"Sheet2\").Range(\"A1\").CurrentRegion\r\n    \r\n    '\u30bb\u30eb\u3092\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u5206\u5272\r\n    myRng.TextToColumns _\r\n        Destination:=Range(\"E1\"), _\r\n        DataType:=xlFixedWidth, _\r\n        fieldinfo:=Array( _\r\n                Array(0, xlSkipColumn), _\r\n                Array(3, xlTextFormat), _\r\n                Array(5, xlSkipColumn), _\r\n                Array(6, xlGeneralFormat), _\r\n                Array(10, xlSkipColumn), _\r\n                Array(11, xlGeneralFormat))\r\n    \r\n    '\u203b\u8b66\u544a\u30de\u30fc\u30af\u3092\u7121\u8996\r\n    For Each Rng In ActiveSheet.UsedRange\r\n        Rng.Errors(xlNumberAsText).Ignore = True\r\n    Next\r\n                \r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?ssl=1\" rel=\"lightbox[6509]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?resize=580%2C290&#038;ssl=1\" alt=\"\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u5206\u5272\uff08TextToColumns \u30e1\u30bd\u30c3\u30c9\uff09\" width=\"580\" height=\"290\" class=\"alignnone size-large wp-image-6511\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?resize=580%2C290&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?resize=400%2C200&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?w=673&amp;ssl=1 673w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n<h2>Parse \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"Parse \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Parse()\r\n\r\n    Dim myRng As Range\r\n    Set myRng = Worksheets(\"Sheet3\").Range(\"A1\").CurrentRegion\r\n    \r\n    myRng.Parse _\r\n        \"x[xxx]x[xxxx]\", _\r\n        Range(\"E1\")\r\n        \r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_parse.jpg?ssl=1\" rel=\"lightbox[6509]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_parse.jpg?resize=580%2C310&#038;ssl=1\" alt=\"\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u5206\u5272\uff08Parse \u30e1\u30bd\u30c3\u30c9\uff09\" width=\"580\" height=\"310\" class=\"alignnone size-large wp-image-6512\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_parse.jpg?resize=580%2C310&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_parse.jpg?resize=400%2C214&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_parse.jpg?w=626&amp;ssl=1 626w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u56fa\u5b9a\u9577\u5f62\u5f0f\u3067\u30bb\u30eb\u3092\u5206\u5272 TextToColumns \u30e1\u30bd\u30c3\u30c9\u3084 Parse \u30e1\u30bd &#8230; <\/p>\n","protected":false},"author":1,"featured_media":6511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[37],"tags":[954,1045,1044,63,955],"jetpack_featured_media_url":"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/11\/fixed_length_texttocolumn.jpg?fit=673%2C336&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1GZ","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6509"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=6509"}],"version-history":[{"count":6,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6509\/revisions"}],"predecessor-version":[{"id":6517,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6509\/revisions\/6517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/6511"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=6509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=6509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=6509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}