I was close. I had
VB Code:
Private Sub mnuItem_Click(I As Integer)
End Sub
but when I click on the mnuItem it needs to load a text file into a textbox.
so could I do something like this
VB Code:
Private Sub mnuItem_Click(I As Integer)
select case mnuItem(I)
case 0
for i = 0 to 3
If mnuItem(i) = 0 then
open("c:\text.txt")
'call sub to load into textbox
End If
case 1
If mnuItem(i) = 1 then
open("C:\text.txt")
'call sub to load into textbox
End If
'and so on
Next I
End Sub
I think I tried that and it didn't work. or did I do something wrong?