Disclaimer: I have no idea what I am doing with VB; I work in the C family.
Currently we have excel workbooks in which specific rows need to be deleted (skip 2, delete 3).
I spaghetti'd this together and it seems to be working:
When run, this works as I want it to.![]()
Please Login or Register to view this content.
However, when flipping statement comments (eg, comment out the BG change and uncommenting the row deletion), it gives me wildly inaccurate deletions.
Anyone know what I am doing wrong?
Bookmarks