I have a question about "Select All"
If I click "Select All" button, this will select all lists.
But I have an error...
Would you please look over??
This is what I have so far.
----------------------------------
Private Sub SelectAll_Click()
Dim itm As ListItem
Dim bValue
If InStr(Me.SelectAll.Caption, "&Sel") = 1 Then
bValue = True
End If
For Each itm In Me.File1. <---got error...
itm.Selected = bValue
Next
End Sub
---
Thank you in advance.
If I click "Select All" button, this will select all lists.
But I have an error...
Would you please look over??
This is what I have so far.
----------------------------------
Private Sub SelectAll_Click()
Dim itm As ListItem
Dim bValue
If InStr(Me.SelectAll.Caption, "&Sel") = 1 Then
bValue = True
End If
For Each itm In Me.File1. <---got error...
itm.Selected = bValue
Next
End Sub
---
Thank you in advance.