Rodribezul
unread,Jun 19, 2013, 12:43:21 PM6/19/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to publice...@googlegroups.com
Respetados Señores
En automatizacion de vfp excel 2010 no habia tenido problema, al probar las mismas rutinas con excel 2013 pareciere que el asunto de hubicarse en las celdas
cambia... estoy copiando filas, pero no se hubica en la fila origen como me funcionaba correctamente hasta la version de excel 2010
FUNCTION copia_banda(lnFilOrig as Integer, lnFilDes as Integer) as Boolean
THIS.oExcel.Windows(THIS.cFileXls).Activate && Activar el Archivo Original.
THIS.oExcel.Application.Worksheets(1).Select && Selecciona la Hoja de Consultas.
THIS.oExcel.Rows(lnFilOrig).Select
THIS.oExcel.Selection.Copy
THIS.oExcel.Windows(THIS.cNewFile).Activate && Activar el Archivo Original.
THIS.oExcel.Application.Worksheets(1).Select && Selecciona la Hoja de Consultas.
THIS.oExcel.Rows(lnFilDes).Select
THIS.oExcel.Selection.EntireRow.Insert
THIS.oExcel.Rows(lnFilDes).Select
THIS.oExcel.ActiveSheet.Paste
THIS.oExcel.Application.CutCopyMode = .F.
THIS.oExcel.Cells(lnFilDes,1).Select
RETURN .T.
ENDFUNC
Si alguien ha experimentado algun problema de automatizacion con la version de excel 2013 y cual seria la solucion..
Gracias de antemano
Rodrigo Bedoya
Bogota-Colombia