FrenchCelt
Board Regular
- Joined
- May 22, 2018
- Messages
- 214
- Office Version
- 365
- Platform
- Windows
Hello,
I have a spreadsheet where someone used strikethrough in Column E to indicate a change and then put the corrected info in the cell underneath. I have a formatting macro that rearranges the data in a way that is useful to my needs, but the strikethrough and correction is throwing it off. What code can I add to cut any cell below a cell with strikethrough and paste over the strikethrough text above? The method I figured would work would be to select/activate a cell with strikethrough text in Column E, offset one cell down, cut, offset one cell up, paste, and repeat the process down the column, but I don't know how to look for the strikethrough text in VBA. My initial assumption is that it will be a For Each type of thing in a range, but I'm not yet fluent enough in the various types of repeating/looping commands in VBA to try building that part on my own.
I have a spreadsheet where someone used strikethrough in Column E to indicate a change and then put the corrected info in the cell underneath. I have a formatting macro that rearranges the data in a way that is useful to my needs, but the strikethrough and correction is throwing it off. What code can I add to cut any cell below a cell with strikethrough and paste over the strikethrough text above? The method I figured would work would be to select/activate a cell with strikethrough text in Column E, offset one cell down, cut, offset one cell up, paste, and repeat the process down the column, but I don't know how to look for the strikethrough text in VBA. My initial assumption is that it will be a For Each type of thing in a range, but I'm not yet fluent enough in the various types of repeating/looping commands in VBA to try building that part on my own.