とまとの館

自分用のメモです。使うための情報まとめ。

2023-07-30から1日間の記事一覧

ユーザー定義関数

■作成<例> Function testFunction ( a As Variant, b As Variant) As Variant testFunction = a + b End Function※Variant型ならどんな方のデータでも対応可※関数名(testFunction)が変数になる!?(と思って書いたらOKかと) これが返り値になる。 ■使い方<例> …