<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ken3memo</author_name>
  <author_url>https://blog.hatena.ne.jp/ken3memo/</author_url>
  <blog_title>チラシの裏 落書きです</blog_title>
  <blog_url>https://ken3chira4ura.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>【Excel VBA】Range(&quot;A1&quot;)直書き卒業！Offsetで出力位置の仕様変更を1行で終わらせる方法 要約・結論 Excel VBAで出力先のセル番地を Range(&quot;A1&quot;) のように直接記述（ハードコーディング）していると、「出力開始をB2やK3にずらしてほしい」といった仕様変更のたびに大量の手修正とバグが発生する。 対策として、起点となる基準セルを Range 変数（例：rBASE）に1箇所だけ設定し、各セルへの書き込みは rBASE.Offset(行, 列) で相対指定することで、出力開始位置の変更が「基準セルの1行を書き換えるだけ」で完結し、メンテナンス性が劇的に向上する。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fken3chira4ura.hatenablog.jp%2Fentry%2F2026%2F11%2F20%2F082609&quot; title=&quot;保守性向上の鍵は相対参照！Rangeのハードコーディングを卒業する実践講座 - チラシの裏 落書きです&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/k/ken3memo/20261120/20261120082456.webp</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-11-20 08:26:09</published>
  <title>保守性向上の鍵は相対参照！Rangeのハードコーディングを卒業する実践講座</title>
  <type>rich</type>
  <url>https://ken3chira4ura.hatenablog.jp/entry/2026/11/20/082609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
