0
Private Sub LoadList_Click()
    lstList.Clear
    CmDialog1.DialogTitle = "Load Your List"
    CmDialog1.InitDir = App.Path
    CmDialog1.flags = &H4
    CmDialog1.Filter = "Lists (*.txt)|*.txt|All Files(*.*)|*.*"
    CmDialog1.ShowOpen
    Call xLoadList(CmDialog1.FileName, lstList)
End Sub

when i try to compile my program it says "argument not optional" and highlights "Call xLoadList". will someone help me with this? thanks

2
Contributors
2
Replies
3
Views
12 Years
Discussion Span
Last Post by cx323
0

do you have a sub or function with the name of xLoadList? If so, please post the code for that as well. If NOT, then the problem is you have an X before loadList ;)

0

thanks for the help but i decided to do it another way since this way didn't seem to be working.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.