<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akashi_keirin</author_name>
  <author_url>https://blog.hatena.ne.jp/akashi_keirin/</author_url>
  <blog_title>素人がExcelVBAによる「一人働き方改革」に挑むブログ</blog_title>
  <blog_url>https://akashi-keirin.hatenablog.com/</blog_url>
  <categories>
    <anon>WordVBA</anon>
    <anon>VBA自作メソッド</anon>
  </categories>
  <description>文書中のハイライトされた箇所を取得するFunction 文書中のハイライトされた箇所を取得するFunctionについては、かつて akashi-keirin.hatenablog.com akashi-keirin.hatenablog.com このような形で取り上げたことがあった。 しかし、ハイライト箇所を文書本体、テキストボックスごとにRange配列として取得するよりも、個々のRangeオブジェクトをCollectionに叩き込むやり方の方が、取り扱いが簡単だと考えた。 そこで、単純に現在のカーソル位置の直後にあるハイライト箇所をRangeオブジェクトとして取得するメソッドを作成した。 次…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakashi-keirin.hatenablog.com%2Fentry%2F2019%2F12%2F29%2F152226&quot; title=&quot;文書中のハイライトされた箇所を取得するFunction(Word) - 素人がExcelVBAによる「一人働き方改革」に挑むブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/akashi_keirin/20191229/20191229145422.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-29 15:22:26</published>
  <title>文書中のハイライトされた箇所を取得するFunction(Word)</title>
  <type>rich</type>
  <url>https://akashi-keirin.hatenablog.com/entry/2019/12/29/152226</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
