Display of row depending on values (yes / blank) in cell of row upon opening of sheet

Need a VBA script to run upon opening of sheet giving the user a specifc selecton of rows based on content of one cell in every row.

Thanks for all the expert advice!! BR
Jens Christian WulffConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
Sounds like you need to use AutoFilter. Attach an example workbook to help better understand your requirements.
0
Jens Christian WulffConsultantAuthor Commented:
Thanks Roy. Will do ASAP.
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
Yes, as what Roy suggested, something like this:

Range("$A$1:$H$5").AutoFilter Field:=3, Criteria1:="Your Text"

Open in new window


further reading:

Range.AutoFilter Method (Excel)
https://docs.microsoft.com/en-us/office/vba/api/Excel.Range.AutoFilter
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Jens Christian WulffConsultantAuthor Commented:
Thanks Roy & Ryan,

Touch’e - this will work like a charm. I need to dive into the programming manual a lot more. Have a great weekend both.
Best Regards
Jens
0
Roy CoxGroup Finance ManagerCommented:
Pleased to help. If you have several words you may need to use an array, which is why I wanted to see an example.
0
Jens Christian WulffConsultantAuthor Commented:
So it is actually (sry for my lack of insight) possible to build and operate a multidimensional array with different autoformats build into each secondary array! That’s neat!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.