Hi,
I have a .txt file with a list of job numbers and job names etc...
I want to add a textbox to a userform with a command button, and when the command button is pressed the code will search through the text file and grab the line of information subject to the value in the textbox..
I.E.. Textbox1.value = "Job Test"
For Instance the Project "Job Test" Might be on line 500 of the text file. I want to be able to grabe this number and add it too a textbox..if it finds more that one occurance of "Job test" then it will add all the line numbers to the listbox...
Can anyone help?
Thanks...
Stuart
I have a .txt file with a list of job numbers and job names etc...
I want to add a textbox to a userform with a command button, and when the command button is pressed the code will search through the text file and grab the line of information subject to the value in the textbox..
I.E.. Textbox1.value = "Job Test"
For Instance the Project "Job Test" Might be on line 500 of the text file. I want to be able to grabe this number and add it too a textbox..if it finds more that one occurance of "Job test" then it will add all the line numbers to the listbox...
Can anyone help?
Thanks...
Stuart