Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hi Group,
Need help on a macro that would be able to clear contents to the left and right of a found string.
My range is currently set at (I6:AI43), if any cell within that range contains the Text "Promo Ended" I need to clear the cell to the left and right as well as the found string.
My range can extend further down but not wider so I will also need to account for an actual LastRow type code instead of hardcoding the row 43 like my current range. The range will always start at row 6 though.
Any help is appreciated.
Need help on a macro that would be able to clear contents to the left and right of a found string.
My range is currently set at (I6:AI43), if any cell within that range contains the Text "Promo Ended" I need to clear the cell to the left and right as well as the found string.
My range can extend further down but not wider so I will also need to account for an actual LastRow type code instead of hardcoding the row 43 like my current range. The range will always start at row 6 though.
Any help is appreciated.