Hello,
I am trying to create a spreadsheet for people who are not that familiar with excel, if at all. I am trying to create a macro that would give them a list of available selections in the filter to choose from and then action their selection.
Anyone have any suggestions? THANKS in advance!!
I have the following code to search the field but it's not helpful if they don't know what is in the column to choose from.
-----------------------------------------------------------------------------------------------------
Sub VAN_INVENTORY_GROUP_sEARCH()
Dim strName As String
strName = InputBox("What word would you like to search for?")
Selection.AutoFilter Field:=4, Criteria1:="=*" & strName & "*", Operator:=xlAnd
-----------------------------------------------------------------------------------------------------
The valid selctions are:
Air Conditioning
Burner
Commercial
Controls
Electrical
Gas
LPG
Major Equipment
Miscellaneous
Mobile Home Furnace
Motors
Plumbing
Pool Heater
Propane
Security
SERV
Sundries
Tools
Venting
Warm Air Accessories
Water
I am trying to create a spreadsheet for people who are not that familiar with excel, if at all. I am trying to create a macro that would give them a list of available selections in the filter to choose from and then action their selection.
Anyone have any suggestions? THANKS in advance!!
I have the following code to search the field but it's not helpful if they don't know what is in the column to choose from.
-----------------------------------------------------------------------------------------------------
Sub VAN_INVENTORY_GROUP_sEARCH()
Dim strName As String
strName = InputBox("What word would you like to search for?")
Selection.AutoFilter Field:=4, Criteria1:="=*" & strName & "*", Operator:=xlAnd
-----------------------------------------------------------------------------------------------------
The valid selctions are:
Air Conditioning
Burner
Commercial
Controls
Electrical
Gas
LPG
Major Equipment
Miscellaneous
Mobile Home Furnace
Motors
Plumbing
Pool Heater
Propane
Security
SERV
Sundries
Tools
Venting
Warm Air Accessories
Water