ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   delete columns based on selection (https://www.excelbanter.com/excel-discussion-misc-queries/250378-delete-columns-based-selection.html)

Steve

delete columns based on selection
 
I want to highlight cells and if a certain word is found in the selection,
delete the column.

So I highlight the cells, press alt+f8 and run the code.


All times are GMT +1. The time now is 04:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com