Search found 169 matches: workbooks

Return to advanced search

Re: EXCEL export

... " " FONT 3 Time from start: 0 hours 0 mins 3 secs Error occurred at: 10.03.2021, 18:32:34 Error description: Error Excel.Application:WORKBOOKS:ADD:ACTIVESHEET/3 DISP_E_MEMBERNOTFOUND: RANGE Args: [ 1] = O Excel.Application:WORKBOOKS:ADD:ACTIVESHEET:RANGE:CELLS [ 2] = N 6 I have uploaded ...
by Otto
Wed Mar 10, 2021 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXCEL export
Replies: 5
Views: 735

Open Excel file with TOleAuto() - parameters

Hi All, How to send parameters to Open() method of Excel:Workbooks? The sintaxis for the command is: :Open (FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, ...
by hidroxid
Sat Mar 06, 2021 10:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open Excel file with TOleAuto() - parameters
Replies: 1
Views: 412

ERROR XBROWSE FWX 20.12 AL ENVIAR A EXCEL

... tiene windows 8 en Ingles y el office 2013 en castellano, no tengo este problema en las pc con windows y office en castellano Excel.Application : WORKBOOKS/14 DISP_E_BADPARAMCOUNT:ADD Called from : TOLEAUTO:ADD(0) .\source\classes\XBROWSE.PRG => TXBROWSE:TOEXECEL(10294) alguna forma de solucionar ...
by CARLOS ATUNCAR
Mon Feb 22, 2021 3:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR XBROWSE FWX 20.12 AL ENVIAR A EXCEL
Replies: 1
Views: 234

Re: Strange issue: Excel

Maybe try making Excel visible to see if it has problems.

// Create the object
oExcel := ExcelObj( )

oExcel:Visible := .t.

oExcel:WorkBooks:Add( )
oAS := oExcel:ActiveSheet( )

oAS:Cells:Font:Name := "Arial"
oAS:Cells:Font:Size := 12
by Gale FORd
Mon Jan 04, 2021 8:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange issue: Excel
Replies: 6
Views: 1007

Re: Import and Export to Excel

... Variables in use ================ Procedure Type Value ========================== TOLEAUTO:VALUE Local 1: U Local 2: C "Excel.Application:WORKBOOKS:OPEN:ACTIVESHEET:USEDRANGE" TEST Local 1: O Class: TOLEAUTO Local 2: L .F. Local 3: U Local 4: U Linked RDDs =========== DBF DBFFPT DBFBLOB ...
by ryugarai27
Sat Apr 27, 2019 4:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import and Export to Excel
Replies: 32
Views: 18334

Re: Import and Export to Excel

... Build 7601 Service Pack 1 Time from start: 0 hours 0 mins 39 secs Error occurred at: 04/23/19, 10:30:11 Error description: Error Excel.Application:WORKBOOKS:OPEN:ACTIVESHEET:USEDRANGE/14 E_OUTOFMEMORY: VALUE Args: Stack Calls =========== Called from: => TOLEAUTO:VALUE( 0 ) Called from: excelrange2.prg ...
by ryugarai27
Tue Apr 23, 2019 2:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import and Export to Excel
Replies: 32
Views: 18334

cGetFile32 not support Chinese File Name

... cFileName ) )  //==> Alwayse appear File not  oExcel := TOleAuto():New( "Excel.Application" )oExcel:WorkBooks:Open(cFileName)  or oExcel := CreateObject( "Excel.Application" ) oExcel:WorkBooks:Open(cFileName)  Got ...
by richard-service
Fri Feb 22, 2019 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile32 not support Chinese File Name
Replies: 2
Views: 711

Re: Import Chinese Characters from XLS

... ) CATCH Alert( "Cannot Connect to Excel. [" + Ole2TxtError()+ "]" ) RETURN (.T.) END END // Open XLS... TRY oExcel:WorkBooks:Open( cDrive + cSource ) oSheet = oExcel:ActiveSheet CATCH Alert( "Error Reading XLS: " + cDrive + cSource + " - [" + ...
by cdmmaui
Thu Feb 21, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import Chinese Characters from XLS
Replies: 4
Views: 954

How To Read From One Excel File And Write To Another

... xlDouble -4119 LOCAL oExcel := CREATEOBJECT( "Excel.Application" ) LOCAL oSheet LOCAL oSheet2 subdirc3 = "WK2.xlsx" oExcel:WorkBooks:Open( "&subdirc3" ) cNamex = "S1" oExcel:Sheets( cNamex ):Select() oSheet2 = oExcel:ActiveSheet subdirc2 = "WK1.xlsx" ...
by acwoo1
Tue Jan 01, 2019 2:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1654

Excel SaveAs not working

... ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH RETURN END END nPage := 1 nRow := 1 oBook := oExcel:WorkBooks:Add() oAS := oBook:Worksheets(1) oAs:Name := 'REPORT' oAS:Cells:Font:Name := "Arial" oAS:Cells:Font:Size := 10 oAs:PageSetup:PrintGridLines ...
by cdmmaui
Thu Jul 05, 2018 6:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel SaveAs not working
Replies: 2
Views: 914

Re: Cerrar bien archivo abierto de Excel, Ayuda

Solucionado con:

oExcel:WorkBooks:Close()
oExcel:Application:Quit()

gracias.
by noe aburto
Thu Apr 12, 2018 6:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar bien archivo abierto de Excel, Ayuda
Replies: 2
Views: 628

Re: TFileXls - Consulta

Amigos del foro Error occurred at: 17/12/2016, 09:35:27 Error description: Error Excel.Application:WORKBOOKS/14 DISP_E_BADPARAMCOUNT: OPEN Args: [ 1] = C C:\nomina\nomina2.xlsm Por fin pude resolver el problema Por si a alguien le llega a ocurrir Desinstale el foxit reader, ...
by juan_arroyo_t
Sat Nov 25, 2017 8:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFileXls - Consulta Solucionado !!!
Replies: 9
Views: 3821

Sigo con toleauto, sin resolver¡¡¡

... visualizar previamente un archivo de excel, cTmpXls:='P:\Tmp\FINAL.xlsx' oExcel:=TOleAuto():New( "Excel.Application" ) oBook :=oExcel:WorkBooks:Open(cTmpXls,0) oSheet:=oExcel:Get("ActiveSheet") oSheet:PrintPreview() oExcel:Close() oExcel:Quit() Que tendre mal?
by noe aburto
Wed Nov 08, 2017 4:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sigo con toleauto, sin resolver¡¡¡
Replies: 3
Views: 788

Forma de abrir y cerrar un xls???

Saludos Una duda de como abrir un archivo de excel y como cerrarlo Tengo esto: oExcel:=TOleAuto():New( "Excel.Application" ) oExcel:WorkBooks:Open('C:\tmp\agricola.xlsx') oHoja := oExcel:Get( "ActiveSheet" ) ... proceso oExcel:Quit() si lo habre, pero de alguna forma este ...
by noe aburto
Wed Nov 08, 2017 4:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma de abrir y cerrar un xls???
Replies: 4
Views: 1253

Apertura lenta de archivo EXCEL oOleAuto()

... usando tOleAuto para abrir archivos de excel y poder leer su informacion, usando oExcel :=TOleAuto():New("Excel.Application") oExcel:WorkBooks:Open(cFilePol) oHoja :=oExcel:Get("ActiveSheet") pero no se cual de estas 3 instrucciones tarda demasiado, una vez abierto ya es ...
by noe aburto
Thu Aug 10, 2017 5:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Apertura lenta de archivo EXCEL oOleAuto()
Replies: 1
Views: 611
PreviousNext

Return to advanced search