<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akashi_keirin</author_name>
  <author_url>https://blog.hatena.ne.jp/akashi_keirin/</author_url>
  <blog_title>素人がExcelVBAによる「一人働き方改革」に挑むブログ</blog_title>
  <blog_url>https://akashi-keirin.hatenablog.com/</blog_url>
  <categories>
    <anon>VBA一般</anon>
    <anon>VBAクラス・モジュール</anon>
    <anon>WordVBA</anon>
  </categories>
  <description>ファイル選択用のクラスを作る 指定した拡張子のファイルを選択させる 今回のマクロでは、写し作成元のWordファイル、ハンコ用のpngファイル、と、ファイル形式を限定して取得したい。そうすると、ファイル選択ダイアログでユーザにファイル選択を迫る際に、フィルターをかける必要がある。 クラスモジュールのコード まず、クラスモジュールを挿入し、「オブジェクト名」を「FileNameGetter」にした。 フィールド部分 Option Explicit 'フィールド Private gotName_ As String '……(1) Private isFailed_ As Boolean '……(2)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakashi-keirin.hatenablog.com%2Fentry%2F2017%2F03%2F18%2F214801&quot; title=&quot;写しPDF作成マクロ～(2) - 素人がExcelVBAによる「一人働き方改革」に挑むブログ&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/a/akashi_keirin/20170318/20170318214721.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-03-18 21:48:01</published>
  <title>写しPDF作成マクロ～(2)</title>
  <type>rich</type>
  <url>https://akashi-keirin.hatenablog.com/entry/2017/03/18/214801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
