Search found 169 matches: workbooks

Return to advanced search

Re: Migrating to Harbour

...   LOCAL oExcel := CREATEOBJECT( "Excel.Application" )    LOCAL cXls := "e:\xharbour\test.xls"    oExcel:WorkBooks:Open( cXls, , , OLEDEFAULTARG(), , , , OLEDEFAULTARG(), , , .T., , .T. )    oExcel:Visible = .T.    RETURN NIL#define ...
by Enrico Maria Giordano
Sat Oct 05, 2013 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 16191

Re: TxBrowse:ToExcel()

Please see local 6 and 7 They are oBook and oSheet The values are still NIL. That means failure started at the line oBook := oExcel:WorkBooks:Add() I do not know why we did not get error here For the time being can you please insert these traces in the ToExcel method in your copy of xbrowse ...
by nageswaragunupudi
Sun Aug 04, 2013 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TxBrowse:ToExcel()
Replies: 6
Views: 1512

Re: Saber Metodos de un CREATEOBJECT

... VARIANT, [optional] VARIANT, [optional] VARIANT, [optional] VARIANT ) STDCALL dispatch PROPERTYGET PTR Windows() STDCALL dispatch PROPERTYGET PTR Workbooks() STDCALL dispatch PROPERTYGET PTR WorksheetFunction() STDCALL dispatch PROPERTYGET PTR Worksheets() STDCALL dispatch PROPERTYGET PTR Excel4IntlMacroSheets() ...
by Antonio Linares
Sun May 12, 2013 9:54 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32149

XLS Open Error S_OK

... ) CATCH Alert( "Cannot Connect to Excel. [" + Ole2TxtError()+ "]" ) RETURN (.T.) END END // Open XLS... TRY oExcel:WorkBooks:Open( cSource ) // Also tried oExcel:WorkBooks:Open( cSource, OleDefaultArg(), OleDefaultArg(), OleDefaultArg() ) oSheet = oExcel:ActiveSheet ...
by cdmmaui
Sun Apr 14, 2013 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XLS Open Error S_OK
Replies: 2
Views: 544

xBrowse error ToExcel()

Hi again, I'm noticing a recurrent runtime error at line 6811 on xbrowse.prg. Line 6811 is:   oBook   := oExcel:WorkBooks:Add()  The error log is: detailled error description --------------------------- Error Excel.Application:WORKBOOKS/14 DISP_E_BADPARAMCOUNT: ADD Parameter ...
by reinaldocrespo
Tue Mar 12, 2013 11:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse error ToExcel()
Replies: 4
Views: 2723

Re: ShellExecute nao abre excel (RESOLVIDO)

tentei o seguinte: cArqExcel:="c:\temp\test.xls" oExcel := CreateObject("Excel.Application") oPlani := oExcel:WorkBooks:Open( cArqExcel, OleDefaultArg() , OleDefaultArg() , OleDefaultArg() ) / nao abre e cArqExcel:="c:\temp\test.xls" oExcel := CreateObject("Excel.Application") ...
by Sistem
Tue Mar 12, 2013 7:43 pm
 
Forum: All products support
Topic: ShellExecute nao abre excel
Replies: 2
Views: 1482

Re: Como mejorar archivos creados en Excel

... Gracias por sus futuros comentarios Lubin oExcel:=CreateObject( "excel.application" )oExcel:DisplayAlerts=.F.oBook :=oExcel:Workbooks:Add()oSheet:=oExcel:ActiveSheet xls_nFormat := oBook:Get("FileFormat")   *Titulos de la HojaoSheet:Cells(1,01):Value ...
by FiveWiDi
Wed Jan 16, 2013 11:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar archivos creados en Excel
Replies: 6
Views: 2468

FiveWin-Harbor Ole

... echo %bcdir%\lib\psdk\rasapi32.lib, >> b32.bc code: local oExcel, oBook oExcel := CREATEOLEOBJECT( "Excel.Application" ) oExcel:Workbooks:Add() oBook := oExcel:Workbooks:Open('Xls\Template\BilRacDo.xls', 0, .f., 5) error: Error description: Error BASE/1004 No exported method: ...
by mijol
Wed Aug 22, 2012 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWin-Harbor Ole
Replies: 3
Views: 764

Re: Open XLS (or XLSX) file and save it with password

When I try to save, I got this error. Error description: Error Excel.Application:WORKBOOKS/14 DISP_E_BADPARAMCOUNT: SAVEAS Args: [ 1] = C C:\Myguests\akcije.xls [ 2] = N 43 [ 3] = C i1978 The line where the program crashes is this oFoglio:SaveAs( fileXL , 43 , "i1978" ...
by codemaker
Tue Jul 24, 2012 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open XLS (or XLSX) file and save it with password
Replies: 14
Views: 4021

Re: OREPORT:TOEXCEL()

... 7601 Service Pack 1 Time from start: 0 hours 0 mins 19 secs Error occurred at: 09/06/2012, 20:38:43 Error description: Error Excel.Application:WORKBOOKS:ADD:ACTIVESHEET:CELLS/0 S_OK: _FORMULA Args: [ 1] = C =SUBTOTAL( 9, G7:G8) Stack Calls =========== Called from: => TOLEAUTO:_FORMULA( 0 ...
by FranciscoA
Sun Jun 10, 2012 2:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OREPORT:TOEXCEL()
Replies: 11
Views: 5101

Re: row height in excel

#include "fivewin.ch" FUNCTION MAIN LOCAL oExcel LOCAL oAs oExcel := CreateObject( "Excel.Application" ) oExcel:WorkBooks:Add() oAS := oExcel:ActiveSheet() oAs:Range( "A1" ):Value := 10 oAS:Columns( "A" ):AutoFit() oExcel:Visible := .T. inkey(3) oAs:Range( ...
by MarcoBoschi
Fri Jun 01, 2012 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: row height in excel
Replies: 2
Views: 494

Re: Excel and cell borders

... xlEdgeBottom 9 #define xlEdgeRight 10 FUNCTION MAIN() LOCAL oExcel LOCAL oAs oExcel := CreateObject( "Excel.Application" ) oExcel:WorkBooks:Add() oAS := oExcel:ActiveSheet() oAs:Range( "C10" ):Value := "Marco" oAs:Range( "C10" ):Borders( xlEdgeTop ...
by MarcoBoschi
Mon May 14, 2012 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel and cell borders
Replies: 2
Views: 594

Re: CREATEOBJECT( "Excel.Application" ) No Cierra el EXCEL.EXE

ruben,

yo lo tengo asi:

...
oWorkBooks:= oExcel:WorkBooks
oWorkBooks:Close()
oWorkBooks:= NIL

oExcel:Quit()
oExcel:= NIL

Hb_GCall(.t.)
...
by hmpaquito
Sat Apr 14, 2012 8:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CREATEOBJECT( "Excel.Application" ) No Cierra el EXCEL.EXE
Replies: 2
Views: 575

Añadir series y fondos con excel (Toleauto)

... me puede facilitar un ejemplo? Esto es lo que estoy generando: oExcel := TOleAuto():New("Excel.Application") oWorkBook := oExcel:WorkBooks:Add() oExcel:Visible := .t. oHoja := oExcel:ActiveSheet() oHoja:Name:= "Datos" oHoja:Range("B1:B"+ALLTRIM(STR(n))):select() ...
by sergisenna
Mon Nov 14, 2011 12:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Añadir series y fondos con excel (Toleauto)
Replies: 1
Views: 576

Error Excel

... nveces, N, oExcel, oWorkBook, xatt, oSheet oExcel := CREATEOBJECT( "Excel.Application" ) OEXCEL:DISPLAYALERTS=.F. oWorkBook := oExcel:WorkBooks:Add() oSheet := oExcel:ActiveSheet aEstructura:={} aadd(aEstructura,{"ART_CODIG","C",16,0}) aadd(aEstructura,{"ART_DESCR","C",40,0}) ...
by diegopolverelli
Wed Jun 15, 2011 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Excel
Replies: 0
Views: 1257
PreviousNext

Return to advanced search