<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-emu</author_name>
  <author_url>https://blog.hatena.ne.jp/k-emu/</author_url>
  <blog_title>自分方位研究所</blog_title>
  <blog_url>https://www.mypath-as-variant.com/</blog_url>
  <categories>
    <anon>Excel VBA</anon>
    <anon>ブログ運営</anon>
  </categories>
  <description>文字コードがUTF-8形式のテキストファイルを、Excel VBAの LINE INPUTステートメントでそのまま読み込むと文字化けしてしまう、というところまで進んできました。 なんとか文字化け無しでテキストを取得したいということで調べてみると、ADO（ActiveX Database Object）の &quot;ADODB.Stream&quot;というものを利用すれば、UTF-8形式の文字コードでも取り込めるということがわかりました。以下、コードを紹介します。 Function ファイルパスを取得 と、Function 出力開始セルを指定 については、昨日の記事と同じものです。Sub UTF8形式のテキスト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mypath-as-variant.com%2Fentry%2F2022%2F02%2F19%2F215509&quot; title=&quot;ADO（ActiveX Database Object）を利用して、UTF-8形式のファイルを読み込む - 自分方位研究所&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-19 21:55:09</published>
  <title>ADO（ActiveX Database Object）を利用して、UTF-8形式のファイルを読み込む</title>
  <type>rich</type>
  <url>https://www.mypath-as-variant.com/entry/2022/02/19/215509</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
