VBA to clear cells below header containing word

higguns

New Member
Joined
Mar 10, 2018
Messages
9
hello,

New to excel VBA and could use some help.

I am looking for a VBA to be able to use on a few different spreadsheets which will be automatically created from an android app that exports to a .csv file. After the csv file is created by the app, I need to be able to: A) clear all cells in a column under headers containing a specific word and B) save the file as a copy of the original file, with " - blank" added to the end of the file name.

All help appreciated!

Thanks
 
Sorry I wasn't clear.... I was originally just looking for the macro to run on one workbook at a time. Each workbook will have a single worksheet in it with headers (this is how the app exports the data to the .CSV file). I would run the macro (from a quick access button linking to the macro in the personal.xlsb so the macro can be run on any file) on each workbook/worksheet manually, unless it can be automated somehow to do it automatically to every file in the folder that doesn't have the suffix -blank? Is this possible? It would make it even less time consuming if it can be setup to do that?
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top