「Excel VBA入門」Option Explicitのサンプル

サンプルコード

Option Explicit
Sub example()
    Dim t As Integer
    t = 0
    
    Do While t < 10
        t = t + 2
    Loop
    MsgBox t 

End Sub

 

VB.net

Posted by arkgame