Hi,
I have 2 problems. First, I have a code to open a 24-page word doc
but I would like to print only pages 1, 7 and 24 as soon as it opens.

sample:
Dim WordObj As Object
Set WordObj = CreateObject("Word.Application")

WordObj.Documents.Open "C:\AT&T.DOC"
WordObj.PrintOut Background:=True, Pages:="1,7,24" `this one doesn't 
work, it prints out all 24 pages     
WordObj.Quit SaveChanges:=No

Set WordObj = Nothing
Question: how can I print specific pages only?

My second problem is how to automatically print .TIFF file
(hyperlink) when I click on the link.

sample:
Me.Package.SetFocus
DoCmd.RunCommand acCmdOpenHyperlink
DoCmd.PrintOut  `this will print only the form and not the tiff file
Question: how to print it tiff file?

I appreciate all your help.
Thanks,
Julius '2000 ver





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/q7folB/TM
--------------------------------------------------------------------~-> 


Please zip all files prior to uploading to Files section. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessDevelopers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to