Printing from list box (1 Viewer)

Joebarri

New member
Local time
Today, 00:39
Joined
Mar 26, 2019
Messages
1
Hallo,
I need VBA code to create a list box shows all the documents from a selected directory, then I can select one or several document and print them.
How can I create this on a easy way
thanks all
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 18:39
Joined
Feb 28, 2001
Messages
27,167
Welcome to the forum, Joebarri. I see June7 has offered a partial solution. I also see that was your first post. For future reference, this section is just to say "HI." But we have many other technical sections that might be good places to post. Since you asked for VBA code, you would post in the "Modules and VBA" section. But don't worry, we don't penalize you for wrong-topic posting. If this thread grows, some moderator might just move it.

Try using the SEARCH feature of this forum, which can be found 3rd from the right in the thin menu-ribbon near the top of the page. You can find all sorts of subject matter on the topics of file-system operations and print operations.
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 16:39
Joined
Oct 29, 2018
Messages
21,467
Hi Joebarri. Welcome to the forum! For the other half of the answer (printing), you might be able to use this function: ShellExecute() with the "print" operation.
 

Users who are viewing this thread

Top Bottom