Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CLIPWKS -Spreadsheet Library - <b>lprtrange()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lprtrange()                                                       PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write print range of cells to spreadsheet

 Syntax
   Lprtrange( aSpreadsheet,cRange )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   cRange         - Range of cells to print

 Returns
   nStatus        - 0 = All Ok
                   -5 = Invalid range
                   -6 = Invalid parameters

 Notes
   The print range determines what cells will be printed when the user
   prints the spreadsheet.  Be sure to keep in mind the value of the
   Lborders() settings when specifying the print range.

 Example
function Demo
   LOCAL aWks := Lcreate("SALES","L3")
   if !empty(aWks)
      LPrtRange(aWks,"A1..G50")
      Lclose(aWks)
   endif
return nil

 Category
   Creating spreadsheet files

See Also: Lborders()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson