| | Post: 78 | Registrato il: 06/07/2016
| Città: BOLZANO | Età: 31 | Utente Junior | 2010 | | OFFLINE | |
|
16/01/2018 12:14 | |
Ciao a tutti.
Sto completando un file e avrei bisogno il vostro aiuto.
è possibile senza usare delle formule ma bensi con codice VBA che tutto quello che scrivo in colonna “H” venga riportato automaticamente in colonna “D e L “ e lo stesso anche per quello che scrivo in colonna “ J “ che venga riportato in colonna “ N e F “
Grazie, saluti
Marilena
|
|
| | Post: 3.627 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
16/01/2018 13:45 | |
Ciao Marilena
Prova con questa macro da inserire nel modulo del foglio interessato
vb Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("H:H, J:J")) Is Nothing Then
Select Case Target.Column
Case 8
Cells(Target.Row, "D").Value = Target.Value
Cells(Target.Row, "L").Value = Target.Value
Case Is = 10
Cells(Target.Row, "F").Value = Target.Value
Cells(Target.Row, "N").Value = Target.Value
End Select
End If
End Sub
Fai sapere.
Alfredo |
| | Post: 78 | Registrato il: 06/07/2016
| Città: BOLZANO | Età: 31 | Utente Junior | 2010 | | OFFLINE | |
|
16/01/2018 20:56 | |
GRAZIE ALFREDO
MOLTO GENTILE,
FUNZIONA |
| | Post: 3.628 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
16/01/2018 22:18 | |
In tempi "sanremesi" grazie dei fiori
Alfredo |
|
|