engrfurqan
Programmer
- Jan 5, 2009
- 20
Hi,
I would like to know that is there any other way to look into page setup properties using vba without opening the word document. Actually I have lorge no of files and I need to gather seetings in pagesetup for all the files I am using following code
set doc = documents.open(FilePath)
if (doc.PageSetup.FirstPageTray = wdPrinterDefaultBin = True) Then
.....
doc.Close
for the above code it will open every word document and then close it this whole process is taking too much time and I want to know is there any way around so that I can minimize the running time?
Regards,
Furqan
I would like to know that is there any other way to look into page setup properties using vba without opening the word document. Actually I have lorge no of files and I need to gather seetings in pagesetup for all the files I am using following code
set doc = documents.open(FilePath)
if (doc.PageSetup.FirstPageTray = wdPrinterDefaultBin = True) Then
.....
doc.Close
for the above code it will open every word document and then close it this whole process is taking too much time and I want to know is there any way around so that I can minimize the running time?
Regards,
Furqan