Link to home
Start Free TrialLog in
Avatar of cmatian
cmatian

asked on

Popup window while printing

Hi Experts,

While printing word documents using visual basic and word object, some documents showing a popup window. The message is " The margins of sections of section 1 are set outside the printable area of the page. Do you want to continue". If we press Yes it will print the page and after that the code throws an error while closing the document. We are looking for a solution for this problem.

Thanks in advance.


ASKER CERTIFIED SOLUTION
Avatar of Joanne M. Orzech
Joanne M. Orzech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _agj_
_agj_

set the printer's page size using the Printer object.

try saving the doc as a doc and then manually open and print from word.

u shud get the same errors, but it will giv u info on wat to fix.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial