VBA
実装 - Implementation ' ===== Outline ' Show items of Collection to immediate window. ' ' ===== Argument ' colTarget: Collection, you'd like to show items. ' ' ===== Author ' bekkou68 Private Sub ShowCollection(ByVal colTarget As Collectio…
実装 - Implementation ' ===== Outline ' Show elements of Array to immediate window. ' ' ===== Argument ' aryTarget: Array, you'd like to show elements. ' ' ===== Author ' bekkou68 Private Sub ShowArray(ByVal aryTarget As Variant) Dim varTa…
はじめに - Introduction Ruby の uniq 的なメソッドが VBA には無いので、作りました。 VBA hasn't method like uniq of Ruby, so I implemented. 実装 - Implementation ' ===== Outline ' Unify Array elements. ' ' ===== Argument ' aryTarget: Array, …
はじめに - Introduction Mapの中身を知りたい時、ウォッチウィンドウだと、key しか表示されず、value が見られません。非常に不便です。 When we'd like to know contents of Map by using watch window, it only show key but value. It's too inconvenie…
失敗 - Failure 文字列の先頭文字だけを大文字に変更してその他の文字は変えない。ということを以下のメソッドで実装しようとした。 I tried to implement "capitalizing only first character of string and make no change for another characters" by usi…
VBAがどうみても亜オブジェクト指向言語について - About VBA is object sub-oriented language コンストラクタに引数を渡せない - Can't give constructor arguments オーバーロードできない - Can't overload 継承できない - Can't implement inheritance …
Sub ShowCurrentTime() MsgBox Format(Now, "yyyymmddHHMMSS") ' ex. "20090401020304" End Sub −ω− 亜オブジェクト指向言語VBA