Bom dia!!
Então use a linha
Range("B:K").EntireColumn.Hidden = False
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("N1")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Range("B:K").EntireColumn.Hidden = False ' <<<--- Veja se ajuda
NUMERO = Sheets("PLAN1").Cells(1, 14).Value
If NUMERO = 1 Then
Columns("B:C").Select
Selection.EntireColumn.Hidden = True
End If
If NUMERO = 2 Then
Columns("D:E").Select
Selection.EntireColumn.Hidden = True
End If
If NUMERO = 3 Then
Columns("F:G").Select
Selection.EntireColumn.Hidden = True
End If
MsgBox "Algo mudou!"
Application.EnableEvents = True
End Sub
Att
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 06/03/2017 6:30 am