Avatar of Euro5
Euro5
Flag for United States of America asked on

Using wildcard to remove rows

Using VBA, I need to first find any text in column B starting with Total
Then remove that row

On all sheets in a workbook

Can anyone help? Thanks!
VBAMicrosoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Euro5

8/22/2022 - Mon
Rob Henson

You can use Auto Filter to identify the rows.

When a filter is in place, if rows are selected as a block and deleted only the visible rows will be deleted.
Euro5

ASKER
Hi, Rob! Thanks for your response! I need to use VBA as part of a larger project. Do you know the VBA code? Thank you!
ASKER CERTIFIED SOLUTION
Euro5

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck