page break into excel

tsp

New Member
Hi

I am trying to get a page break set in excel.

I have a handle to the range which is only 1 row. But does not do anything

here is my line

chRange:hPageBreaks:ADD(chRange) NO-ERROR.

any ideas?

cheers

tj
 

tsp

New Member
cheers for reply

i had the wrong com-handle at the beginning and should have been the handle to worksheet

working great now

:biggrin:
 
Top