I am having trouble with a program I am writing for work. I want to be
able to allow users to input cost codes associated with a specific
task, so I have a userform with a single text box in it, and 2 buttons
that say "ok and add another" and "index." Here are my two problems:
1) I want the "ok and add another" button to keep adding text boxes
underneath the original one. I also want the new textbox VALUE to be
entered into cells in "sheet3" each time the button is clicked, but I
can't figure out how to extract text from the text boxes because there
can be any number of text boxes shown (up to 20), and I don't know how
to leave the text box NAME as a variable that depends on the number of
text boxes present.
2) The "INDEX" button takes the user to "sheet2" which shows an index
of all the cost codes available. I want the user to be able to click on
a cost code, and have that code entered into the next blank text box on
the userform, but I have no idea how to do this.
Sorry, I am extremely new at all this and I have just been teaching
myself along the way.....any help would be GREATLY APPRECIATED!
Thanks,
Cal
Bookmarks