7
6

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 5 years have passed since last update.

マクロ呼出画面に表示されないPublic関数を用意する

Last updated at Posted at 2014-04-06

#概要
ExcelVBAで共通関数をPublicの形で定義した場合、
マクロ呼出画面(ツール >> マクロ)で表示されてしまう。
他モジュールのコード上からは呼び出せるが、
マクロ呼出し画面では表示させない方法を探した。

#コード

画面非表示Public関数.bas
'引数を設定すると、マクロ呼出し画面で表示されない。
Public Sub CommonSub(Optional ByVal dammy As Variant = Nothing)
    '何らかの処理
End Sub
7
6
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
7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?