<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ycloud</author_name>
  <author_url>https://blog.hatena.ne.jp/ycloud/</author_url>
  <blog_title>shikumika’s diary</blog_title>
  <blog_url>https://shikumika.org/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
  </categories>
  <description>Excelを使用してセルに長文を入力し、複数行表示にしたデータを印刷すると、文章の下端が切れてしまうことがあります。 その原因と解決方法の基本は次のとおりで、標準フォントで調整が必要。 shikumika.org しかし、複数のフォントを使用していたり標準フォントを変更したくないケース、セル結合があるケースは、上記の解決方法だけでは十分に対応できません。 結果、何十ページにもわたる長文（フリーコメント）の一覧を印刷物としてアウトプットするときは、チェック時間が長くなる。 なので、VBAで、行高さを自動設定するサンプルを作成してみた備忘録。 （行高さのオートフィットでは対応できないケース用。セル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikumika.org%2Fentry%2F2023%2F06%2F05%2F180000&quot; title=&quot;【Excel】VBAで、印刷時に文字が切れないように行高さを設定するサンプル - shikumika’s diary&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/y/ycloud/20230605/20230605140843.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-05 18:00:00</published>
  <title>【Excel】VBAで、印刷時に文字が切れないように行高さを設定するサンプル</title>
  <type>rich</type>
  <url>https://shikumika.org/entry/2023/06/05/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
