How do I print the contents of a listbox
that is read in from a file?
Printable View
How do I print the contents of a listbox
that is read in from a file?
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
Thanks for your help.
Quote:
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