You are on page 1of 1

Sub test() ' ' test Macro ' ' Range("Table1").Select Selection.AutoFilter Selection.AutoFilter ActiveSheet.ListObjects("Table1").Range.

AutoFilter Field:=6, Criteria1:= _ Range("A1") End Sub ">=1000", Operator:=xlAnd

macro to works when there is change in cell value Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$A$1" Then Application.Run "Macro1" End If End Sub macro to disable printing in xl Private Sub Workbook_BeforePrint(Cancel As Boolean) Cancel = True End Sub

#,##0%;[Red](#,##0%)

You might also like