Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Printing all files in a folder

Ok, at the end of my sub, I want to have the print dialogue box pop up,
let the user choose a printer, and then print all the files in a folder,
say C:/Sales

TIA,
Mike


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Printing all files in a folder

Try this:

Application.Dialogs(xlDialogPrint).Show
or response = Application.Dialogs(xlDialogPrint).Show

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Michael Smith" wrote in message
...
Ok, at the end of my sub, I want to have the print dialogue box pop up,
let the user choose a printer, and then print all the files in a folder,
say C:/Sales

TIA,
Mike


*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Printing all files in a folder

try these and see which is appropriate

application.Dialogs(xlDialogPrinterSetup).Show
application.Dialogs(xlDialogPrint).Show

--
Regards,
Tom Ogilvy

"Michael Smith" wrote in message
...
Ok, at the end of my sub, I want to have the print dialogue box pop up,
let the user choose a printer, and then print all the files in a folder,
say C:/Sales

TIA,
Mike


*** Sent via Developersdex http://www.developersdex.com ***



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Printing all files in a folder

Ok the printersetup dialogue box is just what I need, now how do I Print
all files in a folder



*** Sent via Developersdex http://www.developersdex.com ***
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulling pdf files from general folder to specific folder [email protected] Excel Discussion (Misc queries) 2 September 8th 09 09:41 PM
Copying all files in a folder to new folder michaelberrier Excel Discussion (Misc queries) 2 June 20th 06 05:35 AM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Excel Discussion (Misc queries) 1 January 24th 06 03:28 PM
How to copy 30 csv files from a folder to another folder ddiicc Excel Programming 1 July 17th 05 09:42 AM
Printing to PDF Goes to Wrong Drive/Folder Mel Excel Programming 0 March 10th 05 12:44 PM


All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"