以下の内容はhttps://blog.systemjp.net/entry/2020/04/06/140712より取得しました。


VBAフォームのリストの全選択ON/OFF

ループして SelectedをTrue/Falseする

Private Sub cmd全選択_Click()
    Dim iintLoop As Integer

    With Me!lstResult
        For iintLoop = 0 To .ListCount - 1
           .Selected(iintLoop) = True
         Next iintLoop
    End With
End Sub


Private Sub cmd全解除_Click()
   Dim iintLoop As Integer
 
    With Me!lstResult
        For iintLoop = 0 To .ListCount - 1
          .Selected(iintLoop) = False
        Next iintLoop
    End With
 
End Sub



以上の内容はhttps://blog.systemjp.net/entry/2020/04/06/140712より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14