<?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>VBA</anon>
  </categories>
  <description>Excelで、集計・分析するときにセルを結合した表があると、セル結合を解除し、結合されていた値を各セルに入力が必要となる場面があります。 表を見やすくする目的でセルを結合したが、集計・分析のためにセル結合を解除したい時のVBAサンプルです。 内容: アウトプットイメージ 事例の前提 VBAサンプル 再度、同じ値のセルを結合したい場合 アウトプットイメージ 選択範囲のセル結合を解除して各セルに同じ値を入力します。 VBAの実行結果のイメージ 事例の前提 VBAを実行する前に、セル結合を解除したいセル範囲を選択しておきます（この事例ではB2:D9）。 結合を解除するだけなので、罫線の設定はそのまま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikumika.org%2Fentry%2Fvba-nocellmerging&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/20240208/20240208162201.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-02-09 12:30:00</published>
  <title>【Excel VBA】選択範囲のセル結合を解除して各セルに同じ値を入力</title>
  <type>rich</type>
  <url>https://shikumika.org/entry/vba-nocellmerging</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
