Search found 169 matches: workbooks

Return to advanced search

Re: Per mille symbol

... from samples #include "FiveWin.ch" function Main() local oExcel := CreateObject( "excel.application" ) local oBook := oExcel:Workbooks:Add() local oSheet := oBook:Worksheets( 1 ) oSheet:Range( "A1" ):Value = "Last Name" oSheet:Range( "B1" ):Value ...
by ukoenig
Thu Jul 06, 2017 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SOLVED - Per mille symbol
Replies: 5
Views: 984

Como pasa esto de VBA A FIVEWIN

Amigos tengo esto y funciona bien : local oExcel := CreateObject( "excel.application" ) local oBook := oExcel:Workbooks:Add() local oSheet oSheet:=oExcel:ActiveSheet oSheet:=oBook:Worksheets( 1 ) oSheet:Shapes:AddTextbox(1, 50, 125, 250, 130):TextFrame:Characters:Text = "EMPRESA ...
by jbrita
Mon Feb 13, 2017 2:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como pasa esto de VBA A FIVEWIN
Replies: 0
Views: 652

Re: Shapes Excel

... LOCAL rLogo:="c:\systema\bus\ima\logorojas.bmp" local oExcel := CreateObject( "excel.application" ) local oBook := oExcel:Workbooks:Add() local oSheet := oBook:Worksheets( 1 ) oSheet:= oBook:Worksheets( 1 ) oSheet:name:="EMPRESA-1" oExcel:Sheets( "EMPRESA-1"):Select() ...
by jbrita
Thu Jan 26, 2017 2:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Shapes Excel
Replies: 7
Views: 1660

Re: TFileXls - Consulta

... // oExcel = CREATEOBJECT( "Excel.Application" ) // Así también funciona oExcel := TOleAuto():New( "Excel.Application" ) oExcel:WorkBooks:Open(ALLTRIM(oDdf:FIL)) oHoja := oExcel:Get( "ActiveSheet" ) Fijate que me marca este error Path and name: P:\Fuentes\xHarbour\NomEle\BIN\NomEle.Exe ...
by juan_arroyo_t
Tue Dec 20, 2016 8:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFileXls - Consulta Solucionado !!!
Replies: 9
Views: 3822

Re: TFileXls - Consulta

... CRLF + "No Encontrado..!!", "Error..." )      RETURN nil   ENDIF   /*IF Empty(cFile)      RETURN nil   ENDIF*/   //oExcel:WorkBooks:Open( cFile )   oBook := oExcel:WorkBooks:Open( cFile )   oHoja := oExcel:Get( "ActiveSheet" )  Y ahora tengo el ...
by joseluisysturiz
Sun Dec 18, 2016 12:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFileXls - Consulta Solucionado !!!
Replies: 9
Views: 3822

Re: TFileXls - Consulta

... CRLF + "No Encontrado..!!", "Error..." )      RETURN nil   ENDIF   /*IF Empty(cFile)      RETURN nil   ENDIF*/   //oExcel:WorkBooks:Open( cFile )   oBook := oExcel:WorkBooks:Open( cFile )   oHoja := oExcel:Get( "ActiveSheet" )  Y ahora tengo el ...
by juan_arroyo_t
Sun Dec 18, 2016 12:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFileXls - Consulta Solucionado !!!
Replies: 9
Views: 3822

TFileXls - Consulta Solucionado !!!

... 6.2, Build 9200 Time from start: 0 hours 0 mins 27 secs 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 Stack Calls =========== Called from: => TOLEAUTO:OPEN( 0 ) Called from: ...
by juan_arroyo_t
Sat Dec 17, 2016 3:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFileXls - Consulta Solucionado !!!
Replies: 9
Views: 3822

EXCEL - Desalineado con la ventana.

... ) CATCH oError RetornaErrorTryCatch( oError, 'PLANILHA EXCEL' ) Return END cTitulo := ".:: EXCEL ::. "+Alltrim(cPlanilha) oExcel:Workbooks:Open(cPlanilha) SysRefresh() define window s_oWndExcel mdichild of M->oWnd vscroll title cTitulo s_oWndExcel:bKeyDown := {| nKey | IIf(nKey==VK_ESCAPE,s_oWndExcel:end(),; ...
by MGA
Mon Oct 03, 2016 1:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCEL - Desalineado con la ventana.
Replies: 11
Views: 2664

Re: Colocar Excel/Word en Aplicacion

... ) CATCH oError RetornaErrorTryCatch( oError, 'PLANILHA EXCEL' ) Return END cTitulo := ".:: EXCEL ::. "+Alltrim(cPlanilha) oExcel:Workbooks:Open(cPlanilha) SysRefresh() define window s_oWndExcel mdichild of M->oWnd vscroll title cTitulo s_oWndExcel:bKeyDown := {| nKey | IIf(nKey==VK_ESCAPE,s_oWndExcel:end(),; ...
by MGA
Sun Aug 28, 2016 9:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colocar Excel/Word en Aplicacion
Replies: 10
Views: 3165

Re: abrir excel em janela do fivewin

... oexcelsolver :=CreateObject( "Excel.Application" ) oexcelsolver:Workbooks:Open(clibro) sysrefresh() oexcelsolver:Visible(.t.) hWndexcel := FindWindow(0,"Microsoft Excel - "+cfilenopath(clibro)) SetParent(hwndexcel,oWnd:hWnd) ...
by cmsoft
Sat Aug 27, 2016 1:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abrir excel em janela do fivewin
Replies: 4
Views: 907

Re: Unicode and Excel

... secs Error occurred at: 08/27/16, 09:48:19 Error description: (DOS Error -2147352567) WINOLE/1007 Não é possível obter a propriedade Add da classe Workbooks (0x800A03EC): Microsoft Office Excel Stack Calls =========== Called from: => TOLEAUTO:ADD( 0 ) Called from: teste2.prg => MAIN( 14 )
by MGA
Sat Aug 27, 2016 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode and Excel
Replies: 6
Views: 1803

Poner nombre a la Hoja en Excel

... a cada hoja el dia, tengo este ejemplo pero no me funciona local oExcel := CreateObject( "excel.application" ) local oBook := oExcel:Workbooks:Add() local oSheet := oBook:Worksheets( 1 ) Local nHojas := oExcel:Sheets:Count() Local ndias :=31 Local nD:=1 For Nd=4 To nDias oExcel:Sheets:ADD() ...
by jbrita
Wed May 18, 2016 7:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner nombre a la Hoja en Excel
Replies: 4
Views: 1180

Unicode Read from and write to excel

... .t. ) DEFINE WINDOW oWnd oClp := TClipboard():New() USE "AA_CHN" GO TOP nCols := FCount() oExcel := ExcelObj() oBook := oExcel:WorkBooks:Add() oSheet := oBook:ActiveSheet uVal := FieldGet( 1 ) scrivicella( "A1" , uVal , oSheet , oClp ) uVal := FieldGet( 2 ) scrivicella( ...
by MarcoBoschi
Fri Nov 27, 2015 6:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode Read from and write to excel
Replies: 0
Views: 469

Re: ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS

... ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH MsgAlert( "Excel no instalado" ) return END END Try oExcel:WorkBooks:Add() Catch MsgAlert( "Cierre las Hojas de Excel" ) return End oHoja := oExcel:ActiveSheet oHoja:name := 'Totales' If oExcel:sheets:count() ...
by joseluisysturiz
Fri Oct 09, 2015 3:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS
Replies: 4
Views: 1874

Re: ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS

... ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH MsgAlert( "Excel no instalado" ) return END END Try oExcel:WorkBooks:Add() Catch MsgAlert( "Cierre las Hojas de Excel" ) return End oHoja := oExcel:ActiveSheet oHoja:name := 'Totales' If oExcel:sheets:count() ...
by luisduque
Fri Oct 09, 2015 3:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ACTIVAR LIBRO DE EXCEL VARIOS ABIERTOS
Replies: 4
Views: 1874
PreviousNext

Return to advanced search