Hi,
i would like to take only the fourth digits and what there is after. here an example: 053133348. I would like to be able that excel start from the first character and filter based on the fourth digit only...So basicly, the macro would reconize that there is always 3 digits BEFORE the fourth one..and based on the fourth digital, he would then filter what's left..i am thinking about something like this: ***13040404 or ***2393994. The final goal is to filter datas based on number 1-9...
Any help?
here is my VBA
i would like to take only the fourth digits and what there is after. here an example: 053133348. I would like to be able that excel start from the first character and filter based on the fourth digit only...So basicly, the macro would reconize that there is always 3 digits BEFORE the fourth one..and based on the fourth digital, he would then filter what's left..i am thinking about something like this: ***13040404 or ***2393994. The final goal is to filter datas based on number 1-9...
Any help?
here is my VBA
Code:
Sub CHIPPQA()
'
' CHIPPQA Macro
'
With Sheets("Input_Sheet")
.AutoFilterMode = False 'Clear previous filters if any
With .Range("A1").CurrentRegion
.AutoFilter Field:=25, Criteria1:="PP" 'Column Y contains "PP"
.AutoFilter Field:=26, Criteria1:="=0531*" 'Column Z is = 0531*
.AutoFilter Field:=27, Criteria1:="A" 'Column AA = "A"
End With
End With
Sheets("Summary").Range("G12").Value = Evaluate("=SUBTOTAL(9,'Input_Sheet'!AC:AC)")
End Sub