Hi all,
I have been searching for a code to print files from a company server (shared folder) but I can't get any working.
On the userform I would like to have two comboboxes and a listbox. The first combobox would be populated by subfolders within a folder named "Projects" (which is saved on the company server). The second combobox to select a subfolder within the folder selected in the first combobox. Once a folder is selected the listbox would then be populated with the files within the selected folder from the second combobox which are usually all pdf's.
Once all the pdf's are shown in the listbox I can then select all or select multiple files and click a print button.
Could anyone share a code they have came across for this or write a code for me that would work. I have tried myself but could not get anything working as I am new to vba.
Thanks
I have been searching for a code to print files from a company server (shared folder) but I can't get any working.
On the userform I would like to have two comboboxes and a listbox. The first combobox would be populated by subfolders within a folder named "Projects" (which is saved on the company server). The second combobox to select a subfolder within the folder selected in the first combobox. Once a folder is selected the listbox would then be populated with the files within the selected folder from the second combobox which are usually all pdf's.
Once all the pdf's are shown in the listbox I can then select all or select multiple files and click a print button.
Could anyone share a code they have came across for this or write a code for me that would work. I have tried myself but could not get anything working as I am new to vba.
Thanks
Last edited: