Sub HidePages()
Dim page As String
Dim i As Integer
For i = 1 To 50
page(i).Visible = False
Next
End Sub
gives the error message "Visible is not a member of char" . I believe the line "page(i).visibl e=true" is wrong because if I replace it with "beep()" the loop works. Can anybody see what is wrong?
Ta
Dim page As String
Dim i As Integer
For i = 1 To 50
page(i).Visible = False
Next
End Sub
gives the error message "Visible is not a member of char" . I believe the line "page(i).visibl e=true" is wrong because if I replace it with "beep()" the loop works. Can anybody see what is wrong?
Ta
Comment