Bob, help me out here (once more)
How do I put this code in
VB?
1- I made a command button.
2- In the event On click, I pasted the code.
3- I get the following error:
"Cannot define a public user-defined type inside an object module."
The option compare and the UDT part I put it on Declaration.
The other code I put it on the Onclick event.
What am I doing wrong?
One more question, how do I specify the location of the text file?
This is how It ends up.
Sub imporfile_Click(strSourceFile As String)
' Call with ImportFile "C:\ArrayValues.txt"
Dim intIndex As Integer
---------->8---v-e-r-y-b-i-g-s-n-i-p------>8----------
Thanks thanks a lot !
----
Not in the face !!! Giordano