Search found 209 matches: osheet

Return to advanced search

Re: De Excel a MySql

Code: Select all  Expand view
oRange:Parent:Parent:Close( .f. )


oRange:Parent --> oSheet
oRange:Worksheet --> oSheet
oSheet:Parent --> oWorkBook
by nageswaragunupudi
Wed Jul 19, 2023 3:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De Excel a MySql
Replies: 7
Views: 283

Re: How w/DBFToExcel

oSheet := FW_DbfToExcel()

Then directly insert rows and add your modify oSheet cells as you wish.
by nageswaragunupudi
Sun Apr 23, 2023 9:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How w/DBFToExcel
Replies: 2
Views: 361

Re: Playing with XBROWSE

... programmer wants to make some additions to the excel sheeet before saving as PDF, he can do so by using bPrePdf codeblock, which is evaluated with oSheet as parameter. We can not comment on the runtime error without knowing anything about the DBF or the program code of DoShowDBF() Altenatively, ...
by nageswaragunupudi
Fri Apr 07, 2023 2:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Playing with XBROWSE
Replies: 6
Views: 463

Re: Insertar imágen de recurso en Excel

yo lo hago asi

LOCAL cLogo:="c:\systema\bus\ima\logo.bmp"
oSheet:Shapes:AddPicture( cLogo, .F., .T., 0, 0, 130, 50 )

saludos
by jbrita
Tue Mar 14, 2023 11:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar imágen de recurso en Excel
Replies: 7
Views: 598

Re: error al personalizar hoja de excel despues de toexcel()

In the xbrowse.prg
Please insert
Code: Select all  Expand view
SysRefresh() // insert now
return oSheet

just before return oSheet
by nageswaragunupudi
Sat Nov 26, 2022 6:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al personalizar hoja de excel despues de toexcel()
Replies: 9
Views: 1169

Re: Excel OLE RTE when compiled with Harbour

Dear Hua,

Please try it again removing the "&" to see if that makes a difference:

::oSheet:set("Name", "A T ELEC")
by Antonio Linares
Tue Aug 23, 2022 6:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel OLE RTE when compiled with Harbour
Replies: 15
Views: 858

Re: Error en oBrw:ToExcel()

oSheet:Paste()


Try
Code: Select all  Expand view
oBrw:lExcelCellWise := .t.
by nageswaragunupudi
Thu Jul 28, 2022 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error en oBrw:ToExcel()
Replies: 3
Views: 287

Re: Error en oBrw:ToExcel()

Thanks friend

FWH1804

9335 oWin:FreezePanes := .t. //I put it as a comment it passes

9241 oSheet:Paste() //This is the problem
by acuellar
Mon Jul 25, 2022 6:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error en oBrw:ToExcel()
Replies: 3
Views: 287

Re: Errores OLE en TEXCELSCRIPT

... pero para que funcione el filtro la información debe empezar en el renglón inmediato indicado en el filtro: Ejemplo // Renglón de los filtros oSheet:Range("A3:Z3"):Autofilter() La información del excel debe iniciar en el renglón 4: espero haberte ayudado, a mi me funciona muy bien. ...
by Joel Andujo
Mon May 23, 2022 8:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1173

Re: Errores OLE en TEXCELSCRIPT

Estimados:

Ya que estamos una ultima pregunta, alguno logro poder usar los autofiltros de excel ?. Deberia ser x ej:

oSheet:Range("A3:H903"):Autofilter()

Pero no funcionan.

Saludos,
Daniel Puente
by puenteda
Wed Mar 02, 2022 12:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1173

Re: Errores OLE en TEXCELSCRIPT

deberias cambiarlo por:

local oExcel := CreateObject( "excel.application" )
local oBook := oExcel:Workbooks:Add()
local oSheet := oBook:Worksheets( 1 )

Saludos
by jbrita
Fri Feb 25, 2022 3:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1173

Re: FW_AdoToExcel and sheet

FW_AdoToExcel( cSql ) --> oSheet

This function creates a new Excel Book, exports to only sheet available, i.e., "Sheet1" and returns the Sheet object.
You can use the oSheet object and do anything with it, including rename it :
oSheet:Name := "SomeOtherName".
by nageswaragunupudi
Tue Sep 28, 2021 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_AdoToExcel and sheet
Replies: 4
Views: 514

Re: exportar a excel lineas adic. que no aparecen en el xbrowse

oSheet := oBrw:ToExcel()

Now, use the oSheet object and write in that Sheet, whatever you want to add extra.
by nageswaragunupudi
Thu Jun 24, 2021 2:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: exportar a excel lineas adic. que no aparecen en el xbrowse
Replies: 4
Views: 568

Re: Proteger Celda Excel

Ya encontré en el foro la solucion: //To "Lock" or "Unlock" a cell use: oSheet:Range("A1","A10"):Locked:=.f. //(or .t. to lock) //Then to protect the locked cells: oSheet:Protect( "12345") //To Unprotect the locked cells: ...
by servicomver
Fri May 14, 2021 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Proteger Celda Excel
Replies: 2
Views: 272

Re: Proteger Celda Excel

Con esto bloqueo solo la hoja completa
oSheet:Protect( "123456" )
Que se puede hacer: ¿Des proteger las celdas que necesito ? o Indicar cuales están protegidas ?
by servicomver
Fri May 14, 2021 1:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Proteger Celda Excel
Replies: 2
Views: 272
Next

Return to advanced search