0
2

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.

Excel VBAコース第3回内容

Last updated at Posted at 2019-04-20

全12回 Excel VBAコースの第3回の内容です。

#条件分岐(If文)

If 条件1 Then
  処理1
Elseif 条件2
  処理2
Else
  処理3
End If

#よく使う演算子
・論理演算子(Or・And・Not)

・比較演算子(等号・不等号)

意味
等号 A = B AはBと等しい
A <> B AはBと等しくない
不等号 A < B AはBより小さい
A <= B AはB以下 
A > B AはBより大きい
A >= B AはB以上 

#条件分岐(Select case ~)

Select Case 変数
    Case 条件1
      処理1
    Case 条件2
     処理2
    Case Else
     処理3
End Select
0
2
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
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?