Search found 26 matches: oxls

Return to advanced search

Re: Pasar facturas a Excel

... de Ramon Avendaño Para pasar a excel con esta libreria yo hago: Para una fecha: @ nFila, nCol XLS SAY "Fecha:" + DTOC( Date() ) OF oXls Para un texto: @ nFila, nCol XLS SAY OemToAnsi( cText ) OF oXls Para un número, antes tengo que dar formato: DEFINE XLS FORMAT nFormat PICTURE ...
by JoseLuis
Wed Dec 21, 2022 8:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar facturas a Excel
Replies: 5
Views: 566

Re: EXCEL y archivo xls

Holas

Has intentado ponerle la ruta completa al archivo para que lo guarde exactamente ahi

XLS oXLS FILE "d:\MisReport\Ventas_TPV.xls" AUTOEXEC

Suerte
by lubin
Thu Jan 27, 2022 4:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCEL y archivo xls
Replies: 10
Views: 1573

Excel 2016

... nOr( BORDER_TOP ) #define BORDER_DOWN nOr( BORDER_BOTTOM ) #DEFINE TRUE .T. #DEFINE FALSE .L. LOCAL nFormat,nFormat2,nFormat3,nFont1,nFont2,nFont3,oXLS local f local i DEFINE XLS FORMAT nFormat PICTURE '#,##0.00_);[Red](#,##0.00)' DEFINE XLS FORMAT nFormat1 PICTURE '0' DEFINE XLS FONT nFont1 NAME ...
by acwoo1
Wed Jul 31, 2019 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel 2016
Replies: 0
Views: 477

Re: ¿ Se puede saber el rango de un archivo Excel ?

Waldemar, Si ya tienes tu objeto de Excel, puedes usar estar instrucciones de Excel: nFils := oXls:oSheet:UsedRange:Rows:Count() //<--- No de Filas o registros nCols := oXls:oSheet:UsedRange:Columns:Count() //<--- No de Columas Yo lo utilizo, usando la clase TExcelScrip() ...
by wyerco613
Tue Jul 30, 2019 10:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Se puede saber el rango de un archivo Excel ?
Replies: 8
Views: 1093

Re: ¿ Se puede saber el rango de un archivo Excel ?

Waldemar, Si ya tienes tu objeto de Excel, puedes usar estar instrucciones de Excel: nFils := oXls:oSheet:UsedRange:Rows:Count() //<--- No de Filas o registros nCols := oXls:oSheet:UsedRange:Columns:Count() //<--- No de Columas Yo lo utilizo, usando la clase TExcelScrip() ...
by csincuir
Mon Jul 29, 2019 3:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Se puede saber el rango de un archivo Excel ?
Replies: 8
Views: 1093

Cerrar bien FileXls con ENDXLS oXls?

... Compañeros del foro, y a quien use la clase FileXls. Creo correctamente un archivo XLS con esta clasey logicoal final la instruccion es ENDXLS oXls ---> oXls:End() y lo abre automaticamente, pero como este lo uso temporal delspues del ENDXLS: cTmpXls:=NombreTmp('XLS') nombre temporal XLS ...
by noe aburto
Sat May 11, 2019 10:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar bien FileXls con ENDXLS oXls?
Replies: 0
Views: 407

xls color

... nOr( BORDER_TOP ) #define BORDER_DOWN nOr( BORDER_BOTTOM ) #DEFINE TRUE .T. #DEFINE FALSE .L. LOCAL nFormat,nFormat2,nFormat3,nFont1,nFont2,nFont3,oXLS local f local i DEFINE XLS FORMAT nFormat PICTURE '#,##0.00_);[Red](#,##0.00)' DEFINE XLS FORMAT nFormat1 PICTURE '0' DEFINE XLS FONT nFont1 NAME ...
by acwoo1
Sun Apr 15, 2018 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xls color
Replies: 4
Views: 1378

OLE XLS

... the protection, the cell is pretected but i can't change the colors or size of other cells . How to enable it ? Thanks . Here is the code : oxls := TOleAuto():New("Excel.Application") oxls:WorkBooks:Open("test.XLS") oBook := oxls:Get( "ActiveWorkBook") oSheet ...
by Jack
Fri Feb 19, 2010 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE XLS
Replies: 0
Views: 423

Re: Help with Excel - insert macro

oxls:WorkBooks:Open("G:\tables\MACRODMEDI.XLS") oBookm := oxls:Get( "ActiveWorkBook") oxls:WorkBooks:Open("myxlsfile.xls") oBook := oxls:Get( "ActiveWorkBook") oSheet := oxls:Get( "ActiveSheet" ...
by Rimantas
Sat Feb 06, 2010 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with Excel - insert macro
Replies: 4
Views: 694

Re: Help with Excel - insert macro

... : I write my macro in a different xls file . I open it first,then i open the good xls file . After that i execute the macro from the first xls . oxls:WorkBooks:Open("G:\tables\MACRODMEDI.XLS") oBookm := oxls:Get( "ActiveWorkBook") oxls:WorkBooks:Open("myxlsfile.xls") ...
by Jack
Fri Feb 05, 2010 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with Excel - insert macro
Replies: 4
Views: 694

OLE and Excel

Hello, I want to unprotect all a sheeht and onlly protect 2 cells and the activate the protection of the sheet How to ? Syntax ? oxls := TOleAuto():New("Excel.Application") oxls:visible:=.T. oxls:WorkBooks:Open("c:\test\test.xls") oBook := oxls:Get( "ActiveWorkBook") ...
by Jack
Wed Jan 20, 2010 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE and Excel
Replies: 2
Views: 582

Re: OLE Excel

oxls:Run("FILE2.xls!macro1") works.
But for me the macro is working only after I open the xls file containing the macro.
by nageswaragunupudi
Sat Dec 26, 2009 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Excel
Replies: 2
Views: 649

OLE Excel

... have an excel sheet that is open and i want to execute a macro that is saved in an other xls file . How to : ?? What is the syntax to Run a macro oxls := TOleAuto():New("Excel.Application") * Ouvre lefic3 a partir de Temp oxls:WorkBooks:Open("main.xls") * oBook := oxls:Get( ...
by Jack
Mon Dec 21, 2009 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Excel
Replies: 2
Views: 649

Una sobre la clase TFILEXLS

Compañeros:

Estoy migrando un listado a EXCEL utilizando la clase TFILEXLS.... Hasta ahora todo perfecto.

Pero me surge una duda: ¿hay opcion de poder ocutar la lineas de division de las celdas en la Hoja de calculo?

algo así como oxls:HideCell:=.t.

Un saludo.
LORENZO
by Loren
Fri Sep 11, 2009 7:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una sobre la clase TFILEXLS
Replies: 4
Views: 548

Re: ¿Cómo enviar a Excel reporte con TPrinter?

... // TSalPrinter #include "FileXLS.ch" #include "FiveWin.ch" #include "Report.ch" CLASS TSalPrinterXLS DATA oPrn DATA oXls DATA cFile DATA aFont DATA aFormat DATA nRow METHOD New( ) CONSTRUCTOR METHOD Save() // METHOD StartPage() // METHOD EndPage() METHOD Stabilize() ...
by ManolinM2008
Fri Jun 19, 2009 12:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo enviar a Excel reporte con TPrinter?
Replies: 14
Views: 6031
Next

Return to advanced search