Good Morning,
I'm brand new here and also brand new to vba as well so please forgive me if my code is pretty poor 
I have managed to cobble together a macro which will go through every worksheet in an Excel 2003 workbook and print them all to a file with a unique filename. This works perfectly for me apart from one little thing.
I want to stop it from automatically opening each file after it is saved. Currently what happens is that Windows Picture and Fax Viewer will open for each file after it is saved to the specified location. Thankfully it doesn't open up a new instance of the program for each sheet but it still looks a bit messy and I would love to be able to stop it from happening.
I'm not sure it is even possible to be honest but I thought I would register on here and get some experts views on this matter.
Please see my current code below:-
If any of this doesn't make sense or if you can offer suggestions which would further optimise my code then that would be fantastic.
Thanks,
Ben
Bookmarks