<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>f_iryo1</author_name>
  <author_url>https://blog.hatena.ne.jp/f_iryo1/</author_url>
  <blog_title>うしとみ</blog_title>
  <blog_url>https://f-iryo1.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Excel ファイルをもらったときに、セル内の文字が字下げされていて、しかもその字下げの深さが複数あって、なおかつそのレベルに意味があることってありませんか？ そんなときに字下げ（インデント）の深さを数値で表現できたら便利ですね。VBA を使って IndentLevel プロパティを表示させる方法を記します。 VBA の使い方は各自ググられたし。 Sub 字下げレベルの表示() 'A1 セルの文字のインデントを B1 セルに表示する Cells(1, 2).Value = Cells(1, 1).IndentLevel End Subその行のインデントレベルを全部取得したいときは、 For 〜…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ff-iryo1.hatenadiary.org%2Fentry%2F20110227%2F1298773252&quot; title=&quot;Excel のセル内の字下げ（インデント）を数値化する方法 - うしとみ&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>2011-02-27 11:20:52</published>
  <title>Excel のセル内の字下げ（インデント）を数値化する方法</title>
  <type>rich</type>
  <url>https://f-iryo1.hatenadiary.org/entry/20110227/1298773252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
