Last active
February 27, 2022 13:18
-
-
Save deyvicode/0550f0984cfb5ba28614c2f0365f25db to your computer and use it in GitHub Desktop.
Codigo para input busqueda por columna en Excel habilitado para macros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub BoxSearch_Change() | |
Dim text As String | |
If Sheet1.BoxSearch.value <> "" Then | |
text = "*" & Sheet1.BoxSearch.value & "*" | |
Range("A3").CurrentRegion.AutoFilter Field:=3, Criteria1:=text | |
Else | |
text = "" | |
Range("A3").CurrentRegion.AutoFilter | |
End If | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment