ray88’s diary

お仕事で困ったとき用の自分用の覚書

2020-10-15から1日間の記事一覧

Excel VBA オプションボタン(ラジオボタン)の状態を確認する

Private Sub CommandButton1_Click() Dim i As Long Dim strResult As String Dim wb As Workbook Set wb = ThisWorkbook '-------------------------------------------------------- 'オプションボタンの状態を確認する For i = 1 To 3 If Controls("Optio…