LoginSignup
0
2

More than 5 years have passed since last update.

複数のComboBoxをFor文で回す方法

Posted at

ユーザーフォームにコンボボックスを複数作った際
ループを回してすべてのコンボボックスに対して同じ処理を行う方法がわからなかったが
以下でできるようになった。

    For i = 1 To 5
        Me.Controls("ComboBox" & i).AddItem 0 
    Next

【参考URL】
http://www.moug.net/tech/exvba/0090067.html

0
2
2

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