0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Accessのフォームでフォーカスが当たっているオブジェクトの情報(名前など)を取得

Posted at

やり方

ActiveControl っていう名前のオブジェクトが情報持ってる。

フォーカス中のオブジェクトの名前確認サンプル
Debug.print Me.ActiveControl.Name

VBE上でCtrl + スペース押して候補出せば色々情報持ってるのが分かる。

image.png

参考サイトさん

バージョン

Windows 10 Pro 21H2 OSビルド 19045.2311
Microsoft Access for Microsoft 365 MSO (バージョン 2209 ビルド 16.0.15726.20188) 32 ビット

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?