RE:Como asignarle el nombre de un campo al exporta
Parte I del codigo
local Fila
wait'Espere Un Momento Exportando Datos' window nowait
_screen.mousepointer=14
TmpSheet=GetObject('','Excel.Sheet')
XLApp=TmpSheet.Application
XLApp.visible=.T.
XLApp.workbooks.add()
XLSheet=XLApp.ActiveSheet
XLSheet.Cells(2,2)="Cédula"
XLSheet.Cells(2,2).font.bold=.T.
XLSheet.Cells(2,2).font.size="12"
XLSheet.Cells(2,2).font.name="Arial"
XLSheet.Cells(2,3)="Nombre"
XLSheet.Cells(2,3).font.bold=.T.
XLSheet.Cells(2,3).font.size="12"
XLSheet.Cells(2,3).font.name="Arial"
XLSheet.Cells(2,4)="Apellido"
XLSheet.Cells(2,4).font.bold=.T.
XLSheet.Cells(2,4).font.size="12"
XLSheet.Cells(2,4).font.name="Arial"
XLSheet.Cells(2,5)="Dirección"
XLSheet.Cells(2,5).font.bold=.T.
XLSheet.Cells(2,5).font.size="12"
XLSheet.Cells(2,5).font.name="Arial"
XLSheet.Cells(2,6)="Telefono"
XLSheet.Cells(2,6).font.bold=.T.
XLSheet.Cells(2,6).font.size="12"
XLSheet.Cells(2,6).font.name="Arial"
XLSheet.Cells(2,7)="Celular"
XLSheet.Cells(2,7).font.bold=.T.
XLSheet.Cells(2,7).font.size="12"
XLSheet.Cells(2,7).font.name="Arial"
sele 1