Moderatori: Anthony47, Flash30005
Sub allinea()
Dim rng As Range
Dim cel As Range
Set rng = Range("k3:k5")
For Each cel In rng
If cel.Value < 6 Then
Range("a" & cel.Row & ":" & "F" & cel.Row).Cut Destination:=Range("d" & cel.Row)
End If
Next cel
End Sub
Sub rjust()
Dim LastC As Long, I As Long, LastCC As Long
'
ActiveSheet.Copy After:=ActiveSheet
LastC = Cells.Find(What:="*", After:=[A1], _
SearchOrder:=xlByColumns, _
SearchDirection:=xlPrevious).Column
lastr = Cells.Find(What:="*", After:=[A1], _
SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious).Row
Application.ScreenUpdating = False
For I = 1 To lastr
LastCC = Cells(I, Columns.Count).End(xlToLeft).Column
If LastCC < LastC Then
Cells(I, 1).Resize(1, LastC - LastCC).Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
End If
Next I
Application.ScreenUpdating = True
End Sub
Torna a Applicazioni Office Windows
Mettere tutto MAIUSCOLO un range di celle Autore: raimea |
Forum: Applicazioni Office Windows Risposte: 7 |
Inserire add.in nella barra di avvio veloce in excel 2003 Autore: Ricky0185 |
Forum: Applicazioni Office Windows Risposte: 4 |
Trasformare celle con formattazioni in html Autore: servicedynergy |
Forum: Applicazioni Office Windows Risposte: 5 |
Excel: problema con date se devo unirle a testi Autore: valle1975 |
Forum: Applicazioni Office Windows Risposte: 5 |
Visitano il forum: Nessuno e 12 ospiti