|
-
Feb 6th, 2000, 10:33 AM
#1
Thread Starter
New Member
How do I print the contents of a listbox
that is read in from a file?
-
Feb 6th, 2000, 12:38 PM
#2
You can either Dump the File to the Printer, or do this:
Code:
Dim iIndex As Long
For iIndex = 0 To List1.ListCount - 1
Printer.Print List1.List(iIndex)
Next
Printer.EndDoc
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Certified AllExperts Expert
-
Feb 6th, 2000, 07:35 PM
#3
Thread Starter
New Member
Thanks for your help.
Originally posted by Aaron Young:
You can either Dump the File to the Printer, or do this:
Code:
Dim iIndex As Long
For iIndex = 0 To List1.ListCount - 1
Printer.Print List1.List(iIndex)
Next
Printer.EndDoc
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
|