'この三行をCommandButton2.3以降もまとめたい Private Sub CommandButton1_Click() Call tenki(CommandButton1.Caption) End Sub 'ダブルクリックも同様にまとめたい Private Sub CommandButton1_DblClick(ByVal Cancel As MSForms.ReturnBoolean) Call tenki(CommandButton1.Caption) End Sub '書き込みルーチンです。 Sub tenki(tenkihensu As String) Dim gyo As Long gyo = Range("A500").End(xlUp).Row + 1 Cells(gyo, 1) = tenkihensu End Sub