Moderatori: Anthony47, Flash30005
Option Explicit
Sub prova()
Dim rng As Range
Dim cel As Range
Dim parola As String
Dim ur As Long
ur = Cells(Rows.Count, 1).End(xlUp).Row
Set rng = Range("A1:A" & ur)
Application.ScreenUpdating = False
For Each cel In rng
If cel.Value <> "" Then
parola = cel.Value
Else
cel.Value = parola
End If
Next cel
Application.ScreenUpdating = True
End Sub
ur = Cells(Rows.Count, 1).End(xlUp).Row
ur = Cells(Rows.Count, 2).End(xlUp).Row
=A2
Torna a Applicazioni Office Windows
Macro modifica date scelta periodo Autore: Ricky0185 |
Forum: Applicazioni Office Windows Risposte: 11 |
Mettere tutto MAIUSCOLO un range di celle Autore: raimea |
Forum: Applicazioni Office Windows Risposte: 7 |
Supporto per sviluppo macro VBA Ordinare per data Autore: Carletto Ribolla |
Forum: Applicazioni Office Windows Risposte: 3 |
Visitano il forum: Nessuno e 36 ospiti