<?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>ちょい書きマクロ</anon>
    <anon>VBA覚書</anon>
  </categories>
  <description>クリックされた図形のあるセルを取得する 前置き 「画像をクリックしたら、その画像のあるセルに現在時刻を書き込むようなことってできない？」と言われたのでやったことがあった。 Excelで勤怠管理の一覧表を作って、出勤時と退勤時にその日の欄にある画像をクリックするだけで時刻を書き込めるように、ということらしい。 ちょこちょこっとggってみると、こんなのが引っかかった。なるほど、画像にマクロを登録して、そのマクロの中でApplication.Callerというプロパティの値を取得すれば、マクロの呼び出し手、すなわちマクロを登録した画像そのものが取得できるわけだな。ややこしい言い方ですまん。 あと、こ…</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%2F30%2F215547&quot; title=&quot;画像をクリックしたら画像のあるセルに現在時刻を書き込むマクロ - 素人が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/20170330/20170330214307.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-03-30 21:55:47</published>
  <title>画像をクリックしたら画像のあるセルに現在時刻を書き込むマクロ</title>
  <type>rich</type>
  <url>https://akashi-keirin.hatenablog.com/entry/2017/03/30/215547</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
