Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem printing worksheet

Status
Not open for further replies.

aldi

IS-IT--Management
May 10, 2002
421
CA
i have an excel app to calculate job costs, users are able to print and email the cost results automatically after they save the information, the problem i have is that the page break changes in some computers and this annoy the users because the information jumps to the next page.
i tried adjusting the page margins programmatically but it doesn't make any effect on the output.
any idea how can i fix this problem???????
please help me.
thanks in advance
 
You could send them to Print Preview instead of instant printing....

Dim MyData as Object
Set MyData = Sheets("Sheet1").Cells
MyData.PrintOut Preview:=True

 
Of use the hpagebreak property to set where the pagebreaks occur... Rgds
~Geoff~
 
thanks JESTAR i'll go your way if what xlbo is suggesting doesn't work.
thanks to both of you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top