문제

Hi is it possible to use one InputBox to have two functions? Otherwise I have to fill in information twice. I want it to filter (that already works) and also want to show it in a cell.

FilterCriteria = InputBox("Code")
Sheet3.Range("B" & n).Value = InputBox("Code") 



If FilterCriteria = "" Then Exit Sub
FilterCriteria = Replace(FilterCriteria, "*", "")
FilterCriteria = "*" & FilterCriteria & "*"
도움이 되었습니까?

해결책

Try This:

FilterCriteria = InputBox("Code")
Sheet3.Range("B" & n).Value = FilterCriteria
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top