|
-
Feb 10th, 2004, 03:29 PM
#1
Thread Starter
New Member
Printing the contents of a listbox in VBA
I have a UserFrom with a combobox (called cboEmpList), a commandbuttom (called cmdUpdate), and a listbox (called lstReport). When I select an item from the combobox and hit the command button the listbox is populated with some formatted text. I can do this multiple times to create a report of hours spent by employees on a project. I am having trouble creating a button that will take the contents of the listbox and write it to a text file called "hours.txt" which I can print at a later time. Can anyone offer some assistance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|