Thanks for the input Sharpy. I really appreciate it. I have figured out how to get data into a formatted Excel sheet. I was hoping to be able to have the values displayed on a user form instead of a .txt file but still pondering how that would work. It would be nice then the user would not have to have MS Word or Excel installed to get a report of the inputs that they made. I was thinking of having a series of labels on a form that were activated/or created each time that user clicked a command button so it would creat a list on the user form. So it would go something like this:
(Not the actual code just psuedo code ideas I have been contemplating)
UserForm1
cmdbutton1_Click
txtbox1 = "apples" "User entered value"
UserForm2
label1 = UserForm1.textbox1
When the user clicks on the command button again Form2 would show
labe2 = UserForm1
So ultimately everytime the user clicked the command button a new label would be created on
User Form 2 that provided a sequential listing of the values that were entered into the User Form 1
txtbox thus creating a report that looked something like this:
Grocery List
1. Apples
2. Bananas
3. Grapes
Ultimately I am tying to end up with a list of the items that is updated each time
the user clicks the command button thereby creating a list/report. I know how to get the values from the textbox on Form1 to display in a label in Form2. It is just getting a list that I am having trouble with. If anyone needs to view how to get the textbox data to the label a good tutorial is here:
http://www.devcity.net/PrintArticle.aspx?ArticleID=102I am trying to come up with the most painless solution possible. Just for reference I did find this very nice tutorial for writing to Excel if anyone is interested:
http://cislab.moorparkcollege.edu/gcampbell/advVB6-NET.htmThanks again for the input. It definitely gives me another option to think about.
This post has been edited by gram999: 25 Jan, 2008 - 08:31 PM