<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hetappi</author_name>
  <author_url>https://blog.hatena.ne.jp/hetappi/</author_url>
  <blog_title>へたっぴ日記</blog_title>
  <blog_url>https://hetappi.hatenadiary.org/</blog_url>
  <categories>
    <anon>VBA</anon>
    <anon>Excel</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>調べ事中たまたま見つけたのでメモる。 ExcelVBAのApplication.OnKeyメソッドで、シート上でのキー押下時に呼び出すプロシージャを設定できるが、このプロシージャに引数を渡すことができるようだ。ってか、できた。今までキーごとにFunctionを定義していてかなりへぼへぼだったのでかなりうれしい。 # Excelでキーイベントひろう人なんてあまりいないだろうなぁ…。 Application.Onkey &quot;a&quot;, &quot;Proc&quot; # なし Application.Onkey &quot;a&quot;, &quot;'Proc 1'&quot; # 1 Application.Onkey &quot;a&quot;, &quot;'Proc 1, &quot;&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhetappi.hatenadiary.org%2Fentry%2F20051129%2F1133276899&quot; title=&quot;OnKeyメソッドのプロシージャに引数を渡す - へたっぴ日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-11-29 00:08:19</published>
  <title>OnKeyメソッドのプロシージャに引数を渡す</title>
  <type>rich</type>
  <url>https://hetappi.hatenadiary.org/entry/20051129/1133276899</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
