<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
    <anon>作ってみた</anon>
  </categories>
  <description>Excel のユーザーフォームに配置できる「スクロールバー」。 今まで、「何に使うんだろう」と思っていた。ListBoxなどは、表示内がはみ出せば、勝手にスクロールバーが現れてくれる。ところが、最近のこと。どこかで見かけたのが脳裏に残っていたのか、 「スクロールさせる以外にも使いどころがあるのでは？」 と気づいてしまった。例えば、こんな感じ。 ユーザーフォーム コードは、至ってシンプルだ。 まずは、ユーザーフォームの初期化。ラベルの値を０にする。 Option Explicit Private Sub UserForm_Initialize() Label1.Caption = 0 End S…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2018%2F11%2F16%2F180835&quot; title=&quot;ユーザーフォームにスクロールバーを配置 - Infomentのブログ ～Excel VBA奮闘記～&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/I/Infoment/20181116/20181116175713.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-16 18:08:35</published>
  <title>ユーザーフォームにスクロールバーを配置</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2018/11/16/180835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
