vba - How do I count how many times a specific value shows up in excel? -


i'm searching "***" in column, need know how many times appears can loop code many times. can't seem find out how it. help!

if cells have "***" in them , it's not else, can invoke worksheet function countif

application.worksheetfunction.countif(activesheet.range("a:a"), "~*"&"~*"&"~*") 

edited per tmh8885's comment , asterisk being wildcard. tilde seem work.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -