{"id":6486,"date":"2017-10-27T10:23:50","date_gmt":"2017-10-27T01:23:50","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=6486"},"modified":"2017-10-27T10:23:50","modified_gmt":"2017-10-27T01:23:50","slug":"adodbstream","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/adodbstream\/","title":{"rendered":"\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff08UTF-8\uff09\u3092\u8aad\u307f\u8fbc\u307f\u3001\u66f8\u304d\u51fa\u3057\uff08ADODB.Stream\uff09"},"content":{"rendered":"<h2>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/h2>\n<div class=\"m30-l\">\n<p><strong>ADO<\/strong>\uff08ActiveX Database Object\uff09\u306e Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08ADODB.Stream\uff09\u3092\u4f7f\u7528\u3059\u308b\u3068 <strong>UTF-8<\/strong> \u5f62\u5f0f\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n    <strong>ADO<\/strong> \u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u53c2\u7167\u8a2d\u5b9a\u3092\u884c\u3046\u65b9\u6cd5\u3068\u3001<strong>CreateObject \u95a2\u6570<\/strong>\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<br \/>\n<h3>ADODB.Stream<\/h3>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1cCreateObjects \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\uff1e<\/strong><\/span><br \/>\n    <b>Dim<\/b> <em>st<\/em> <b>As Object<\/b><br \/>\n    <b>Set<\/b> <em>st<\/em> = <b>CreateObject(&#8220;ADODB.Stream&#8221;)<\/b><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53c2\u7167\u8a2d\u5b9a\u3092\u884c\u3046\u5834\u5408\uff1e<\/strong><\/span><br \/>\n    <b>Dim<\/b> <em>st<\/em> <b>As ADODB.Stream<\/b><br \/>\n    <b>Set<\/b> <em>st<\/em> = <b>New ADODB.Stream<\/b><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<p class=\"caution4\">Excel2003 \u4ee5\u524d\u3067\u306f\u3001<strong>Microsoft ActiveX Data Objects 2.8 Library<\/strong> \u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n      Excel2007 \u4ee5\u964d\u3067\u306f\u3001<strong>Microsoft ActiveX Data Objects \u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7 Library<\/strong> \u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n      \u53c2\u7167\u8a2d\u5b9a\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/filesystemobject\/\">\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08FileSystemObject\uff09\u306e\u4f7f\u3044\u65b9<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"caution4\"><strong>CreatObject \u95a2\u6570<\/strong> \u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u53c2\u7167\u8a2d\u5b9a\u306e\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001VBE \u3067\u3001\u81ea\u52d5\u30e1\u30f3\u30d0\u8868\u793a\u7b49\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u652f\u63f4\u6a5f\u80fd\u304c\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30de\u30af\u30ed\u306e\u5b9f\u884c\u901f\u5ea6\u3082\u9045\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<h3>Open \u30e1\u30bd\u30c3\u30c9 \uff0f Close \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p><strong>Open<\/strong> \u306f\u3001<strong>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong> \u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n    <strong>Close<\/strong> \u306f\u3001\u958b\u3044\u3066\u3044\u308b <strong>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong> \u3092\u9589\u3058\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Open<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Close<\/strong><\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>Type \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u30c7\u30fc\u30bf\u578b\uff08\u30c6\u30ad\u30b9\u30c8 or \u30d0\u30a4\u30ca\u30ea\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Type<\/strong> = <em>StreamType<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>StreamType&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<strong>StreamTypeEnum \u5217\u6319\u578b<\/strong>\u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\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\">adTypeBinary<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\">\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">adTypeText<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\">\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>Charset \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Charset<\/strong> = <em>CharacterCode<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>CharacterCode&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u8868\u3059\u6587\u5b57\u5217\uff08String \u578b\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\uff08\u4f8b\uff09UTF-8\u3001Shift_JIS\u3001euc-jp\u3001ISO-2022-JP\u3001Unicode\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u306a\u3069<\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>LoadFromFile \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092 Stream \u306b\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>LoadFromFile<\/strong> <em>FileName<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>FileName&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u6587\u5b57\u5217\u578b\uff08String\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>SaveToFile \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5185\u5bb9\u3092\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><br \/>\n    <\/p>\n<p>    <em>object<\/em>.<strong>SaveToFile<\/strong> <em>FileName<\/em> [, <em>SaveOptions<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>FileName&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u6587\u5b57\u5217\u578b\uff08String\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>SaveOptions&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u304b\u3069\u3046\u304b\u3092 <strong>SaveOptionsEnum<\/strong> \u5024\u3067\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\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\">adSaveCreateNotExist<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\"><em>FileName<\/em> \u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u898f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\uff08\u65e2\u5b9a\u5024\uff09\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">adSaveCreateOverWrite<\/td>\n<td width=\"50\" align = \"center\">2<\/td>\n<td width=\"400\"><em>FileName<\/em> \u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u898f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>Position \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u73fe\u5728\u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3001\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>long<\/em> = <em>object<\/em>.<strong>Position<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>Position<\/strong> = <em>long<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>long&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u4f4d\u7f6e\u3092\u793a\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u8a2d\u5b9a\uff08\u53d6\u5f97\uff09\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>EOS \u30d7\u30ed\u30d1\u30c6\u30a3 \uff0f SetEOS \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>EOS \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u73fe\u5728\u306e\u4f4d\u7f6e\u304c\u672b\u5c3e\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002SetEOS \u30e1\u30bd\u30c3\u30c9\u3067\u3001Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u4f4d\u7f6e\u3092\u3092\u672b\u5c3e\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u672b\u5c3e\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\uff1e<\/strong><\/span><br \/>\n    <em>boolean<\/em> = <em>object<\/em>.<strong>EOS<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u672b\u5c3e\u306b\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>SetEOS<\/strong><\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>boolean&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u73fe\u5728\u306e\u4f4d\u7f6e\u304c Stream \u306e\u672b\u5c3e\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u30d6\u30fc\u30eb\u578b\uff08Boolean\uff09\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u73fe\u5728\u306e\u4f4d\u7f6e\u304c\u672b\u5c3e\u306e\u5834\u5408\u306f <strong>True<\/strong>\u3001\u672b\u5c3e\u3067\u306a\u3044\u5834\u5408\u306f <strong>False<\/strong> \u3092\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/><\/div>\n<br \/>\n<h3>Read \u30e1\u30bd\u30c3\u30c9 \uff0f ReadText \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u6307\u5b9a\u3057\u305f\u30d0\u30a4\u30c8\u6570\u307e\u305f\u306f\u6587\u5b57\u6570\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Read<\/strong> [ <em>NumBytes<\/em> ]<\/p>\n<p>    <em>object<\/em>.<strong>ReadText<\/strong> [ <em>NumChars<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>NumBytes&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u53d6\u308b\u30d0\u30a4\u30c8\u6570\u3092\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u307e\u305f\u306f\u3001<strong>StreamReadEnum \u5024<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>NumChars&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u53d6\u308b\u6587\u5b57\u6570\u3092\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u307e\u305f\u306f\u3001<strong>StreamReadEnum \u5024<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p class=\"caution4\"><strong>StreamReadEnum<\/strong><\/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\">adReadAll<\/td>\n<td width=\"50\" align = \"center\">-1<\/td>\n<td width=\"400\">\u73fe\u5728\u306e\u4f4d\u7f6e\u304b\u3089 EOS \u30de\u30fc\u30ab\u30fc\u65b9\u5411\u306b\u3001\u3059\u3079\u3066\u306e\u30d0\u30a4\u30c8\u3092\u30b9\u30c8\u30ea\u30fc\u30e0\u304b\u3089\u8aad\u307f\u53d6\u308a\u307e\u3059\uff08\u65e2\u5b9a\u5024\uff09\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">adReadLine<\/td>\n<td width=\"50\" align = \"center\">-2<\/td>\n<td width=\"400\">\u30b9\u30c8\u30ea\u30fc\u30e0\u304b\u3089\u6b21\u306e\u884c\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\n    <\/p>\n<br \/><\/div>\n<br \/>\n<h3>Write \u30e1\u30bd\u30c3\u30c9 \uff0f WriteText \u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u307e\u305f\u306f\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Write<\/strong> <em>Buffer<\/em><\/p>\n<p>    <em>object<\/em>.<strong>WriteText<\/strong> <em>Data<\/em> [ ,<em>Options<\/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>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>Buffer&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u66f8\u304d\u8fbc\u3080\u30d0\u30ea\u30a2\u30f3\u30c8\u578b\uff08Variant\uff09\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>Data&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u66f8\u304d\u8fbc\u3080\u6587\u5b57\u5217\u578b\uff08String\uff09\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>Options&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u306e\u7d42\u308f\u308a\u306b\u884c\u533a\u5207\u308a\u6587\u5b57\u3092\u66f8\u304d\u8fbc\u3080\u304b\u3069\u3046\u304b\u3092 <strong>StreamWriteEnum \u5024<\/strong>\u3067\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\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\">adWriteChar<\/td>\n<td width=\"50\" align = \"center\">0<\/td>\n<td width=\"400\">\u5f15\u6570 <em>Data<\/em> \u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff08\u65e2\u5b9a\u5024\uff09\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">adWriteLine<\/td>\n<td width=\"50\" align = \"center\">1<\/td>\n<td width=\"400\"><em>Data<\/em> \u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3068\u884c\u533a\u5207\u308a\u6587\u5b57\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><\/div>\n<\/div>\n<br \/><br \/>\n<h2>ConvertFormula \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 1<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"UTF-8\u5f62\u5f0f\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_ADOStream_Load()\r\n\r\n    '\u3010\u53c2\u7167\u8a2d\u5b9a\u3011Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim st As ADODB.Stream\r\n    Dim myPath As String\r\n    Dim myStr As String\r\n    \r\n    myPath = ThisWorkbook.path & \"\\test01.csv\"\r\n    Set st = New ADODB.Stream\r\n    \r\n    With st\r\n        .Open                   'Stream \u3092\u958b\u304f\r\n        .Type = adTypeText      '\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\r\n        .Charset = \"UTF-8\"      '\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6307\u5b9a\r\n        .LoadFromFile myPath    '\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3080\r\n        myStr = .ReadText       '\u8aad\u307f\u8fbc\u3093\u3060\u5185\u5bb9\u3092\u53d6\u5f97\r\n        .Close                  'Stream \u3092\u9589\u3058\u308b\r\n    End With\r\n    \r\n    MsgBox myStr\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:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream01.jpg?ssl=1\" rel=\"lightbox[6486]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream01.jpg?resize=172%2C178&#038;ssl=1\" alt=\"ADO Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30c6\u30ad\u30b9\u30c8\uff08UTF-8\uff09\u8aad\u307f\u8fbc\u307f\" width=\"172\" height=\"178\" class=\"alignnone size-full wp-image-6487\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 2<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"UTF-8\u5f62\u5f0f\uff08BOM\u3042\u308a\uff09\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u51fa\u3059\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_ADOStream_Save1()\r\n\r\n    '\u3010\u53c2\u7167\u8a2d\u5b9a\u3011Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim st As ADODB.Stream\r\n    Dim myPath As String\r\n    Dim myStrLine As String\r\n    Dim myRng As Range\r\n    Dim i As Long\r\n    Dim j As Long\r\n    \r\n    myPath = ThisWorkbook.path & \"\\test02.csv\"\r\n    Set st = New ADODB.Stream\r\n    \r\n    st.Open                 'Stream \u3092\u958b\u304f\r\n    st.Type = adTypeText    '\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\r\n    st.Charset = \"UTF-8\"    '\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6307\u5b9a\r\n    \r\n    With Worksheets(\"Sheet1\")\r\n    \r\n        Set myRng = .Range(\"A1\").CurrentRegion\r\n    \r\n        For i = 1 To myRng.Rows.Count\r\n            myStrLine = \"\"\r\n            For j = 1 To myRng.Columns.Count\r\n                If j = 1 Then\r\n                    myStrLine = .Cells(i, j)\r\n                Else\r\n                    myStrLine = myStrLine & \",\" & .Cells(i, j)\r\n                End If\r\n            Next j\r\n            st.WriteText myStrLine, adWriteLine '\u5185\u5bb9\u3092\u66f8\u304d\u8fbc\u3080\r\n        Next i\r\n    \r\n    End With\r\n    \r\n    st.SaveToFile myPath, adSaveCreateOverWrite '\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\r\n    st.Close                                    'Stream \u3092\u9589\u3058\u308b\r\n    \r\n    Set st = Nothing\r\n    Set myRng = Nothing\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c\uff08\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff09<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream02.jpg?ssl=1\" rel=\"lightbox[6486]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream02.jpg?resize=549%2C296&#038;ssl=1\" alt=\"ADO Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30c6\u30ad\u30b9\u30c8\uff08UTF-8 BOM\u3042\u308a\uff09\u66f8\u304d\u51fa\u3057 \" width=\"549\" height=\"296\" class=\"alignnone size-full wp-image-6488\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream02.jpg?w=549&amp;ssl=1 549w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream02.jpg?resize=400%2C216&amp;ssl=1 400w\" sizes=\"(max-width: 549px) 100vw, 549px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 3<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"UTF-8\u5f62\u5f0f\uff08BOM\u306a\u3057\uff09\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u51fa\u3059\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_ADOStream_Save2()\r\n\r\n    '\u3010\u53c2\u7167\u8a2d\u5b9a\u3011Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim st As ADODB.Stream\r\n    Dim myPath As String\r\n    Dim myStrLine As String\r\n    Dim myBuf() As Byte\r\n    Dim myRng As Range\r\n    Dim i As Long\r\n    Dim j As Long\r\n    \r\n    myPath = ThisWorkbook.path & \"\\test03.csv\"\r\n    Set st = New ADODB.Stream\r\n    \r\n    st.Open                 'Stream \u3092\u958b\u304f\r\n    st.Type = adTypeText    '\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\r\n    st.Charset = \"UTF-8\"    '\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6307\u5b9a\r\n    \r\n    With Worksheets(\"Sheet1\")\r\n    \r\n        Set myRng = .Range(\"A1\").CurrentRegion\r\n    \r\n        For i = 1 To myRng.Rows.Count\r\n            myStrLine = \"\"\r\n            For j = 1 To myRng.Columns.Count\r\n                If j = 1 Then\r\n                    myStrLine = .Cells(i, j)\r\n                Else\r\n                    myStrLine = myStrLine & \",\" & .Cells(i, j)\r\n                End If\r\n            Next j\r\n            st.WriteText myStrLine, adWriteLine '\u5185\u5bb9\u3092\u66f8\u304d\u8fbc\u3080\r\n        Next i\r\n    \r\n    End With\r\n    \r\n    With st\r\n        \r\n        .Position = 0                               '\u4f4d\u7f6e\u3092\u5148\u982d\u306b\u8a2d\u5b9a\r\n        .Type = adTypeBinary                        '\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u306b\u5909\u66f4\r\n        .Position = 3                               '\u4f4d\u7f6e\u30923\u30d0\u30a4\u30c8\u5206\u79fb\u52d5\r\n        myBuf = .Read                               '\u5185\u5bb9\u3092\u53d6\u5f97\r\n        .Position = 0                               '\u4f4d\u7f6e\u3092\u5148\u982d\u306b\u8a2d\u5b9a\r\n        .Write myBuf                                '\u5185\u5bb9\u3092\u66f8\u304d\u8fbc\u3080\r\n        .SetEOS                                     '\u4f4d\u7f6e\u3092\u672b\u5c3e\u306b\u8a2d\u5b9a\r\n        .SaveToFile myPath, adSaveCreateOverWrite   '\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\r\n        .Close                                      'Stream \u3092\u9589\u3058\u308b\r\n    \r\n    End With\r\n    \r\n    Set st = Nothing\r\n    Set myRng = Nothing\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c\uff08\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff09<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream03.jpg?ssl=1\" rel=\"lightbox[6486]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream03.jpg?resize=580%2C331&#038;ssl=1\" alt=\"ADO Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u30c6\u30ad\u30b9\u30c8\uff08BOM\u306a\u3057\uff09\u66f8\u304d\u51fa\u3057\" width=\"580\" height=\"331\" class=\"alignnone size-large wp-image-6489\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream03.jpg?resize=580%2C331&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream03.jpg?resize=400%2C228&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream03.jpg?w=606&amp;ssl=1 606w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 4<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"BOM\u3042\u308a\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3059\u308b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\n'--------------------------------------------------------------------------\r\n' BOM\u3042\u308a\u306a\u3057\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u65b9\u6cd5\r\n'\r\n' 1.\u30d5\u30a1\u30a4\u30eb\u3092\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u3067\u8aad\u307f\u8fbc\u3080\r\n' 2.\u5148\u982d3\u30d0\u30a4\u30c8\u3092\u78ba\u8a8d\u3059\u308b\r\n' \u2192  EF BB BF \u306e\u5834\u5408\u306f\u3001BOM\u3042\u308a\u3001\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001BOM\u306a\u3057\r\n'\r\n'--------------------------------------------------------------------------\r\nSub Sample_ADOStream_BOMCheck()\r\n\r\n    '\u3010\u53c2\u7167\u8a2d\u5b9a\u3011Microsoft ActiveX Data Objects 6.1 Library\r\n    \r\n    Dim st As ADODB.Stream\r\n    Dim myPath As String\r\n    Dim myByte() As Byte\r\n    Dim strByte As String\r\n    Dim v As Variant\r\n    \r\n    myPath = ThisWorkbook.path & \"\\test01.csv\"\r\n    Set st = New ADODB.Stream\r\n    \r\n    With st\r\n        .Open                   'Stream \u3092\u958b\u304f\r\n        .Type = adTypeBinary    '\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\r\n        .LoadFromFile myPath    '\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3080\r\n        myByte = .Read(3)        '\u5148\u982d\u304b\u30893\u30d0\u30a4\u30c8\u3092\u53d6\u5f97\r\n        .Close                  'Stream \u3092\u9589\u3058\u308b\r\n    End With\r\n    \r\n    For Each v In myByte\r\n        strByte = strByte & Hex(v)\r\n    Next\r\n    \r\n    If strByte = \"EFBBBF\" Then\r\n        MsgBox \"BOM \u3042\u308a\"\r\n    Else\r\n        MsgBox \"BOM \u306a\u3057\"\r\n    End If\r\n\r\n    Set st = Nothing\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:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream04.jpg?ssl=1\" rel=\"lightbox[6486]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream04.jpg?resize=140%2C148&#038;ssl=1\" alt=\"ADO Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 BOM\u3042\u308a\u306a\u3057\u306e\u30c1\u30a7\u30c3\u30af\" width=\"140\" height=\"148\" class=\"alignnone size-full wp-image-6492\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>Stream \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 ADO\uff08ActiveX Database Objec &#8230; <\/p>\n","protected":false},"author":1,"featured_media":6487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[37],"tags":[1042,963,954,1041,1043,63,955,729],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/10\/adostream01.jpg?fit=172%2C178&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1GC","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6486"}],"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=6486"}],"version-history":[{"count":6,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6486\/revisions"}],"predecessor-version":[{"id":6496,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6486\/revisions\/6496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/6487"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=6486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=6486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=6486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}