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