Search found 34 matches: worksheets

Return to advanced search

Re: Insertar Hoja en libro Excel

... error y no la puedo poner en marcha Encontré por el foro la siguiente instrucción oBook := oExcel:ActiveWorkbook:Sheets:Add( oExcel:ActiveWorkbook:Worksheets( oExcel:ActiveWorkbook:Worksheets:Count() ) ) Pero actúa como el primer caso
by juanjogascem
Thu Mar 31, 2022 10:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar Hoja en libro Excel
Replies: 2
Views: 204

Re: Agregar hoja a un libro de excel

Joao:

Excelente, eso me agrega la hoja, pero la pone al frente de la hoja activa, quiero que quede atrás de la hoja activa
He visto que Excel tiene el método oExcel:WorkSheets:AddAfter() pero me tira un error. alguna idea?

Saludos
by Armando
Sat Mar 19, 2022 2:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Agregar hoja a un libro de excel atras de la hoja activa
Replies: 2
Views: 287

Re: Errores OLE en TEXCELSCRIPT

deberias cambiarlo por:

local oExcel := CreateObject( "excel.application" )
local oBook := oExcel:Workbooks:Add()
local oSheet := oBook:Worksheets( 1 )

Saludos
by jbrita
Fri Feb 25, 2022 3:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1173

Re: Passing Parameters to Excel.

byron.hopp wrote:Dim sheet As Worksheet
Set sheet = ActiveWorkbook.Sheets.Add(After:=ActiveWorkbook.Worksheets(ActiveWorkbook.Worksheets.Count))


Try
Code: Select all  Expand view
oSheet := oExcel:ActiveWorkbook:Sheets:Add( oExcel:ActiveWorkbook:Worksheets( oExcel:ActiveWorkbook:Worksheets:Count() ) )
by anserkk
Thu May 07, 2020 6:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Passing Parameters to Excel.
Replies: 2
Views: 434

Passing Parameters to Excel.

... the methods in Excel, because the parameter passing is unusual. Dim sheet As Worksheet Set sheet = ActiveWorkbook.Sheets.Add(After:=ActiveWorkbook.Worksheets(ActiveWorkbook.Worksheets.Count)) Is there a way to make this work in Harbour / Fivewin? Thanks, Byron ...
by byron.hopp
Wed May 06, 2020 11:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Passing Parameters to Excel.
Replies: 2
Views: 434

Re: To James Bott - Error Using TData

... with service items, inventory, accounting, and of course workorders that are used to create invoices ( or estimates, counter sales, technician worksheets, etc ), and also to review service histories for anything that the business works upon. Other methods have to do with tax systems for clients, ...
by Silvio.Falconi
Tue May 28, 2019 11:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5124

Re: To James Bott - Error Using TData

... with service items, inventory, accounting, and of course workorders that are used to create invoices ( or estimates, counter sales, technician worksheets, etc ), and also to review service histories for anything that the business works upon. Other methods have to do with tax systems for clients, ...
by TimStone
Tue May 28, 2019 11:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5124

Re: to Nages: test for tdatabase

James, I use "workorders" to create estimates, invoices, counter sales, and technician worksheets. To open a workorder, I use this call: oWorkorder := TWorkorder():New( cWorkID ) WIthin that method, everything is handled. Each workorder has a unique ...
by TimStone
Fri May 10, 2019 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages: test for tdatabase
Replies: 37
Views: 5687

Re: How To Read From One Excel File And Write To Another

Thanks

How do I specify only certain worksheets in the files ?

Regards
ACWoo
Using FWH1510
by acwoo1
Tue Jan 01, 2019 6:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To Read From One Excel File And Write To Another
Replies: 6
Views: 1647

Re: Select an open excel-sheet

Hello, I tested it with oExcel = CREATEOBJECT( "Excel.Application" )oSheet:= oExcel:WorkSheets('MYPAGE')  but I get an error Error description: Error Excel.Application/16389 E_FAIL: WORKSHEETS Args: [ 1] = C MYPAGE on the line with oSheet:= oExcel:WorkSheets('MYPAGE')
by Marc Vanzegbroeck
Wed Oct 17, 2018 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select an open excel-sheet
Replies: 13
Views: 3189

Re: Select an open excel-sheet

... with sheet names. After selecting the sheet I want to use, the program use that sheet, and get the information of that sheet oSheet:= oExcel:WorkSheets(cSheetSelectedFromButton) regards
by hmpaquito
Wed Oct 17, 2018 7:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select an open excel-sheet
Replies: 13
Views: 3189

Excel SaveAs not working

... 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 := .F. oAs:PageSetup:Orientation ...
by cdmmaui
Thu Jul 05, 2018 6:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel SaveAs not working
Replies: 2
Views: 914

Re: List of sheets in a excel-file

You can try something like this:

FOR nI := 1 TO oExcel:sheets():Count

do_whatever_you_want( oExcel:Worksheets( nI ):name )

NEXT
by ADutheil
Sun Jun 17, 2018 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of sheets in a excel-file
Replies: 2
Views: 447

Re: Per mille symbol

... 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 = "First Name" oSheet:Range( ...
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

... := 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 PRINCIPAL" ESTO COMO LO PASO A FIVEWIN ...
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: 651
Next

Return to advanced search