Jaroslav,
When I recorded a macro and clicked the upper left square, which selects the whole sheet I got
Cells.Select
Selection.Copy
>I create a excel file and I don't know determine size of text in sheet.
>I think that my solution is not good and I use .Range("A1:IV256")(maximum size). I need this 'text' puts to another app.
>
>PUBLIC sgoExcel, sgoExcelRange
>sgoExcel = CREATEOBJECT("Excel.Application")
>IF TYPE("sgoExcel") == "O"
>sgoExcel.Workbooks.Add
>sgoExcel.WorkBooks.Open(pjsFileName)
>sgoExcel.Visible = .F.
>WITH sgoExcel.Sheets[1]
> sgoExcelRange = .Range("A1:IV256") ** ????
> sgoExcelRange.Copy()
>ENDWITH
>
>
>Thanks.