I have 20 sheets with data, and I want save some data in another sheets, I have this code :
VB Code:
Windows("FICHAS SINANPE.xls").Activate Sheets("001 Elbert Zavaleta Zavaleta").Select Range("B6:B14").Select Selection.Copy Windows("Dbase personal.xls").Activate Sheets("Datos Personales").Select Range("A2").Select Selection.PasteSpecial Paste:=xlAll, Operation:=xlNone, SkipBlanks:=False _ , Transpose:=True Windows("FICHAS SINANPE.xls").Activate Sheets("002 Dante Alemán De Lama").Select Range("B6:B14").Select Selection.Copy Windows("Dbase personal.xls").Activate Sheets("Datos Personales").Select Range("A3").Select Selection.PasteSpecial Paste:=xlAll, Operation:=xlNone, SkipBlanks:=False _ , Transpose:=True
This code run, but I have 20 sheets and I want to do a bucle where the sheets are inside the bucle, but I don't know how to do




Reply With Quote