
Sub Macro3()
'
' Macro3 Macro
'
'
ActiveCell.Range("Tabella2[#Headers]").Select
With Selection.Interior
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
ActiveCell.Select
End Sub
|
Public Sub nascondiEsterno()
'nasconde zona esterna alla selezione
Dim prRig As Long, ulRig As Long, ulCol As Long
prRig = Selection.Row
ulRig = Selection.Rows(Selection.Rows.Count).Row
If prRig > 1 Then
Rows("2:" & (prRig) - 1).Select
Selection.EntireRow.Hidden = True
End If
Rows(ulRig + 1).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.EntireRow.Hidden = True
End Sub |
Public Sub nascondiEsterno()
'nasconde zona esterna alla selezione
Dim prRig As Long, ulRig As Long, ulCol As Long
prRig = Selection.Row
ulRig = Selection.Rows(Selection.Rows.Count).Row
If prRig > 1 Then
Rows("2:" & (prRig) - 1).Select
Selection.EntireRow.Hidden = True
End If
End Sub |
