<?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>各ページの行数を取得する(Word) Wordドキュメントの、各ページの行数を調べる方法を編み出した（笑）ので、覚書として記しておく。 カーソルのあるページの総行数を取得する [Document].Bookmarks.Item(&quot;\Page&quot;)の返り値 BookmarksコレクションのItemメソッドのIndexに&quot;\Page&quot;を指定すると、カーソルのあるページ全体を表すBookmarkオブジェクトが返るっぽい。 たとえば、テキトーなページのどこかにカーソルを置いて、イミディエイト・ウィンドウに ActiveDocument.Bookmarks(&quot;\Page&quot;).Select と打ち込んで[E…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakashi-keirin.hatenablog.com%2Fentry%2F2020%2F05%2F27%2F215521&quot; title=&quot;各ページの行数を取得する(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/20200527/20200527215135.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-27 21:55:21</published>
  <title>各ページの行数を取得する(Word)</title>
  <type>rich</type>
  <url>https://akashi-keirin.hatenablog.com/entry/2020/05/27/215521</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
