Moderatori: Anthony47, Flash30005
If ActiveCell.Address(0, 0) = "A1" Then
Application.Goto Reference:=Range("T1"), scroll:=True
End If
Sub NOMI()
For I = 1 To 10
Cells(I, 2) = Application.Substitute(Cells(I, 1), " ", " ")
Cells(I, 2) = LCase(Cells(I, 2))
L = Len(Cells(I, 2))
SSPACE = L - Len(Application.Substitute(Cells(I, 2), " ", ""))
If SSPACE = 0 Then
Cells(I, 2) = UCase(Cells(I, 2))
Else
POS = InStr(Cells(I, 2), " ")
TXT = UCase(Mid(Cells(I, 2), 1, POS + 1))
For NS = POS + 2 To L
If Mid(Cells(I, 2), NS, 1) = " " Then
TX = " " & UCase(Mid(Cells(I, 2), NS + 1, 1))
NS = NS + 1
Else
TX = Mid(Cells(I, 2), NS, 1)
End If
TXT = TXT & TX
Next NS
Cells(I, 2) = TXT
End If
Next
End Sub
Torna a Applicazioni Office Windows
definizione automatica di nomi da un elenco Autore: marcoc |
Forum: Applicazioni Office Windows Risposte: 4 |
Ordina nomi con relativi dati su più fogli Autore: ahidai |
Forum: Applicazioni Office Windows Risposte: 4 |
Visitano il forum: Nessuno e 57 ospiti