Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Salve a tutti,
ho registrato una macro che , partendo dalla prima colonna 1) sposta la selezione sino all'ultima cella della stessa riga 2) selezione l'ultima cella e la penultima 3) copia (taglia) quest'intervallo 4) incolla lo stesso n colonne a dx (sempre nella stessa riga) Questa operazione andrebbe iterata sino alla fine (riga m). Qui di seguito c'è la macro di cui vi ho parlato : ----------------------- Sub Macro2() ' ' Macro2 Macro ' Macro registrata il 27/07/2005 da cperciba ' ' Scelta rapida da tastiera: CTRL+d ' Selection.End(xlToRight).Select Range("F11:G11").Select Range("G11").Activate Selection.Cut Range("M11").Select ActiveSheet.Paste End Sub ----------------------- Come modificarla per iterare il processo ? Grazie mille Claudio |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |