Search found 169 matches: workbooks

Return to advanced search

ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS

...  oExAngu := TOleAuto():New( "Excel.Application" )   oExAngu:Visible := .t.//   oExResu:Workbooks:Open( cResumen ) // ABRO EL ARCHIVO DE RESUMEN// ARCHIVOS DE ANGULOS   FOR nFor := 10 TO 360 STEP 10 // NOMBRE DE LOS LIBROS ...
by joseluisysturiz
Thu Oct 08, 2015 7:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS
Replies: 4
Views: 1874

Re: Ayuda con Exportacion a Excel

... TOleAuto(), el problema esta en que no me deja convertir el formato de la columna oExcel := TOleAuto():New( "Excel.Application" ) oExcel:WorkBooks:Add() oHoja := oExcel:ActiveSheet() oHoja:Cells:Font:Name := "Arial" oHoja:Cells:Font:Size := 10 // TITLE oHoja:Cells( 1, 1 ):Value ...
by hugodatapro
Fri Jun 05, 2015 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Exportacion a Excel
Replies: 14
Views: 1801

Re: Problem with GetExcelRange()

... not found. It may have been moved, renamed or deleted . This works cFile := "\\pc\test\test.xlsx" oExcel := ExcelObj() oBook := oExcel:WorkBooks:Open( cFile ) ? oBook:FullName TRY oSheet := oBook:ActiveSheet oRange := oSheet:UsedRange CATCH END Regards Maurizio http://www.nipeservice.com
by Maurizio
Thu Feb 05, 2015 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with GetExcelRange()
Replies: 3
Views: 626

Re: Excel Hyperlink

Thank you very much for your help, but the error are the same. oExcel := ExcelObj() oBook := oExcel:WorkBooks:Add() oSheet := oBook:ActiveSheet oSheet:Cells( 4,2 ):Value := '=HYPERLINK("http://forums.fivetechsoft.com/", "FiveTech Forums" )' oExcel:Visible ...
by fp
Thu Jan 15, 2015 1:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel Hyperlink
Replies: 13
Views: 1617

Alinear y formato en ToleAuto

Saludos. Creo un objeto oREPORTE:=TOleAuto():New("Excel.Application") oREPORTE:WorkBooks:Add() oBook:=oREPORTE:Get("ActiveWorkBook") oSheet:=oREPORTE:Get("ActiveSheet" ) voy formando mi cadena de texto para en su momento con el portapapeles ...
by noe aburto
Tue Jan 06, 2015 6:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alinear y formato en ToleAuto
Replies: 2
Views: 601

Re: Timer congelado

Gracias hmpaquito, ahí le as dao. ME FUNCIONA:

try
osigo := oexcel:WorkBooks:Open(alltrim(fichero),0,.t.,1,"","")
catch
osigo := .f.
end

if valtype(osigo) = 'O'
Msgalert('No tiene password')
else
Msgalert('Tiene password')
endif

Mil gracias ...
by Sebastián Almirón
Thu Nov 27, 2014 6:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Timer congelado
Replies: 7
Views: 870

Re: Timer congelado

... de el crear el objeto excel por cada fichero. Tengo que buscar otra solución Antonio, cuando digo que con msgalert() funciona es sustituyendo workbooks:open() por msgalert(). El problema lo tengo en el momento que pongo el workbooks:open(), es lo que deja congelado mi programa hasta que se ...
by Sebastián Almirón
Thu Nov 27, 2014 6:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Timer congelado
Replies: 7
Views: 870

Timer congelado

... la contraseña o se cancele, algo así: oexcel := CreateObject( "Excel.Application" ) oexcel:DisplayAlerts(.F.) ... olibro := oexcel:WorkBooks:Open(alltrim(fichero),.f.,.f.) ... Y cuando el libro tiene contraseña, el programa NO continúa despues del workbooks:open. Lo que quiero conseguir ...
by Sebastián Almirón
Thu Nov 27, 2014 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Timer congelado
Replies: 7
Views: 870

reporte a excel (Resuelto)

... teniendo este mensaje al mandar a excel todos los reportes de la aplicación en una terminal puntual. Error description: Error Excel.Application:WORKBOOKS:ADD:ACTIVESHEET:CELLS/0 S_OK: _FORMULA Ahora, ocurre algo interesante, el sistema está en red, y el error solo se produce en una terminal ...
by jose_murugosa
Fri Oct 31, 2014 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: reporte a excel (Resuelto)
Replies: 5
Views: 1038

Re: OREPORT:TOEXCEL()

Hola, estoy teniendo el mismo problema, es decir este mensaje: Error description: Error Excel.Application:WORKBOOKS:ADD:ACTIVESHEET:CELLS/0 S_OK: _FORMULA Ahora, ocurre algo interesante, el sistema está en red, y el error solo se produce en una terminal específica y no en todas, ...
by jose_murugosa
Fri Oct 31, 2014 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OREPORT:TOEXCEL()
Replies: 11
Views: 5087

Re: Exportar xBrowse Para Excel no funciona

... como funciona con exportacion directa desde xBrowse, ya que exporta a Excel con: oExcel := TOleAuto():New( "Excel.Application" ) oExcel:WorkBooks:Add() oExcel:Sheets("Hoja2"):Select(); oHoja := oExcel:ActiveSheet() oHoja := oExcel:ActiveSheet() // SINO ESPECIFICAS QUE HOJA, ...
by joseluisysturiz
Tue Oct 28, 2014 1:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportar xBrowse Para Excel no funciona
Replies: 6
Views: 1763

tipo de dato indefinido al leer planilla EXCEL

... cFile :="C:\VENTAS.xlsx" oExcel:=TOleAuto():New("Excel.Application") oBook := oExcel:Workbooks:Open(cFile) oHoja := oExcel:Get( "ActiveSheet" ) nTotRowCount:= oHoja:UsedRange:Rows:Count() USE C:\VENTAS NEW EXCLUSIVE FOR Q=2 ...
by lafug
Mon Apr 21, 2014 4:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tipo de dato indefinido al leer planilla EXCEL
Replies: 1
Views: 434

tipo de dato undefine al leer una planilla excel

... cFile :="C:\VENTAS.xlsx" oExcel:=TOleAuto():New("Excel.Application") oBook := oExcel:Workbooks:Open(cFile) oHoja := oExcel:Get( "ActiveSheet" ) nTotRowCount:= oHoja:UsedRange:Rows:Count() USE C:\VENTAS NEW EXCLUSIVE FOR Q=2 ...
by lafug
Mon Apr 21, 2014 4:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tipo de dato undefine al leer una planilla excel
Replies: 3
Views: 805

Re: Migrating to Harbour

Richard, Enrico Please take a look at the excel workbooks property http://msdn.microsoft.com/en-us/library/bb179167(v=office.12).aspx Oledefaultarg() is supposed to be the format parameter ? Format Optional Variant If Microsoft Excel is opening a ...
by Enrico Maria Giordano
Sat Oct 05, 2013 8:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 16188

Re: Migrating to Harbour

Enrico Please take a look at the excel workbooks property http://msdn.microsoft.com/en-us/library/bb179167(v=office.12).aspx Oledefaultarg() is supposed to be the format parameter ? Format Optional Variant If Microsoft Excel is opening a text ...
by Richard Chidiak
Sat Oct 05, 2013 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 16188
PreviousNext

Return to advanced search