Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Trying to print without opening the document....

I'm trying to print excel files witout having to open the document. I have a
master file that I make changes to, which changes all the other files. I
then want to print all the other files all at the same time without having to
go into them and open them up. Any sugguestions???????
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Trying to print without opening the document....

Hi
AFAIK not possible witout opening them

--
Regards
Frank Kabel
Frankfurt, Germany

"Tim needs help" <Tim needs schrieb im
Newsbeitrag ...
I'm trying to print excel files witout having to open the document.

I have a
master file that I make changes to, which changes all the other

files. I
then want to print all the other files all at the same time without

having to
go into them and open them up. Any sugguestions???????


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Trying to print without opening the document....

With a macro you can open and print them

Try this one for all Excel files in the folder C:\Data

Sub TestFile1()
Dim i As Long
Dim WB As Workbook
Application.ScreenUpdating = False
With Application.FileSearch
.NewSearch
.LookIn = "C:\Data"
.SearchSubFolders = False
.FileType = msoFileTypeExcelWorkbooks
If .Execute() 0 Then
For i = 1 To .FoundFiles.Count
Set WB = Workbooks.Open(.FoundFiles(i))
WB.PrintOut
WB.Close False
Next i
End If
End With
Application.ScreenUpdating = True
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Frank Kabel" wrote in message ...
Hi
AFAIK not possible witout opening them

--
Regards
Frank Kabel
Frankfurt, Germany

"Tim needs help" <Tim needs schrieb im
Newsbeitrag ...
I'm trying to print excel files witout having to open the document.

I have a
master file that I make changes to, which changes all the other

files. I
then want to print all the other files all at the same time without

having to
go into them and open them up. Any sugguestions???????




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
Opening a document DEL New Users to Excel 2 January 11th 09 08:13 PM
Document Properties sent to print when print with office applicati Office applications Excel Discussion (Misc queries) 1 March 31st 06 07:45 PM
how do i rotate a document or print small document on envelope crystal New Users to Excel 2 March 23rd 06 03:52 PM
how can I delete the print box that pops up to show document print Prudential Excel Discussion (Misc queries) 1 February 23rd 06 11:58 AM
Two copies of same document appear when opening a document Kathy at the Fort Excel Discussion (Misc queries) 1 December 15th 04 05:46 PM


All times are GMT +1. The time now is 06:25 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"