Repititive Headers

Copper Contributor

Hello,

I have created code and it worked perfectly.

But, i have pressed run button multiple times.

So, what should i write to revert it back with the help of VBA code?

 

Please help..??

 

Here is the attached file

3 Replies
Actions by macros usually cannot be undone with undo.
Closing the file without saving may solve the problem. If you have the file stored in a cloud service, you might be able to recover a previous version.
When working with macros it is important to always set backup copies aside.
I hope this answers your question.
With the help of VBA code, can revert it back?
Sorry, I don't think so.