dayjournal memo

Total 975 articles!!

VBA #017 - 処理をまとめる (戻り値なし)

Yasunori Kirimoto's avatar

画像



戻り値なしで処理をまとめるメモ。



common.bas


'sub01
call sub01("sub01")

'sub02
call sub02("sub02")

'sub03
call sub03("sub03")



Sub sub01(txt As String)

    '文字列表示
    MsgBox txt & "!"

End Sub

Sub sub02(txt As String)

    '文字列表示
    MsgBox txt & "!!"

End Sub

Sub sub03(txt As String)

    '文字列表示
    MsgBox txt & "!!!"

End Sub


画像



book

Q&A