I need to have a Macro that will delete a row if the cell value is less than 11 and also delete column if the names are Provider,Mngd balance, Hold Status, K?,Enrollment Date. This needs to Delete Rows & Columns.jpg
I need to have a Macro that will delete a row if the cell value is less than 11 and also delete column if the names are Provider,Mngd balance, Hold Status, K?,Enrollment Date. This needs to Delete Rows & Columns.jpg
Maybe:
Please Login or Register to view this content.
For deleting rows...
Try this..
Don't forget to click *Please Login or Register to view this content.
after that try this for deleting columns..
Please Login or Register to view this content.
Don't forget to click *
Hi John,
The code works. Now I need to have it work on the other 8 sheets in the workbook. Thanks for the help!!!
You're welcome. Does this help for the other worksheets?
Please Login or Register to view this content.
Try this..
Garys code revised....
Don't forget to click *Please Login or Register to view this content.
Hi John,
This works on all sheets except it doesn't remove the columns with Hold Status in column 8 and Enrolment Date in column 12 for some reason.
Column 3 Provider, Column 6 Mngd balance and column 10 K? work fine. Any idea's ?
Gary B
Well for Column 12, how do you spell Enrollment Date? Check for spelling and leading and trailing spaces in your headers.
I seplled Enrollment on the workbook correctly and it's correct in the code.
Sorry, I mean I spelled Enrollment correctly, no leading spaces or trailing spaces.
Try:
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks