I'm looking to create a template that I paste data into but there are so many unnecessary words/cells.
Find and replace and deleting cells is so time consuming.
Please see attached, as I have no idea how to explain my query with only words.
I'm looking to create a template that I paste data into but there are so many unnecessary words/cells.
Find and replace and deleting cells is so time consuming.
Please see attached, as I have no idea how to explain my query with only words.
Last edited by jtmann; 02-14-2017 at 02:28 PM. Reason: I had written 'of' instead of 'or'.
http://stackoverflow.com/questions/9...based-on-colorPlease Login or Register to view this content.
The color of the cells was simply to clarify which cells. I need to delete all cells that contain the words "Bottle", "Preservative Test Code", "# of containers to fill per sample", "Test Code" and "Preservative"
Formulas can only affect the cell they reside in, then cannot do anything to any other cells
You would need VBA for that
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Would "FIND AND REPLACE" (HOME tab, Find & Select) do the job ?
No need for VBA.
This macro will search the entire sheet and clear the cells containing the terms in fndList
Please Login or Register to view this content.
But effective !
Indeed, until there are dozens (or more) that you need to do
Its only time .....
indeed, but the more it needs to be done, the greater the chance of an error creeping in. Plus, if this is a regular task (daily, weekly or monthly), it can become onerous and frustrating
Ok .... "uncle" .... you win.
Wasnt a contest was an interesting discussion on the merits of manual vs automated - and you gave some good code to do that
Thanks ! Appreciate the compliment.
* uncle *
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks