Por favor, existe algun ejemplo detallado para generar tablas dinámicas con alguna clase de excel.
Saludos, y gracias por la ayuda.
#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 = "First Name"
oSheet:Range( "A1:B1" ):Font:Bold = .T.
oSheet:Range( "A2" ):Value = "Doe"
oSheet:Range( "B2" ):Value = "John"
oBook:SaveAs( CurDrive() + ":\" + CurDir() + "\Book1.xls" )
oExcel:Visible = .T.
// oExcel:Quit()
MsgInfo( "ok" )
return nil
jose_murugosa wrote:Aquí la clase texcel con un ejemplo funcional de tablas dinamicas, espero que te sea util.
http://www.box.net/shared/17xppqo9h8
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 144 guests