|
-
Aug 21st, 2003, 01:24 PM
#1
Thread Starter
Addicted Member
Retrieving number of pages in a tiff
I am writing a program in VBA for outlook.
The program prompts the user when closing an email with an attachment and asks if they
would like to save the document. when storing the document I need to get the number of pages.
The code that I wrote is as follows:
Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchPDDoc = CreateObject("AcroExch.PDDoc")
AcroExchPDDoc.Open strPath + aAttachments(i)
AcroExchPDDoc.GetNumPages
when the document is a pdf then it retrieves the number correctly, however when it is a tiff file
it always returns 0.
If you can get me any help with this i would greatly appreciate.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|