Hi All
Is it, in any way possible to call a subroutine on any error during a macro?
I created a macro that does some calculations, afterwards data sheets are hidden as veryhidden rendering them invisible for the user.
However on errors the macro breaks and leaves the sheets visible to the user. I am trying to avoid this.
I am thinking something along the lines of this:
On error call SubHideSheets
end
Is it, in any way possible to call a subroutine on any error during a macro?
I created a macro that does some calculations, afterwards data sheets are hidden as veryhidden rendering them invisible for the user.
However on errors the macro breaks and leaves the sheets visible to the user. I am trying to avoid this.
I am thinking something along the lines of this:
On error call SubHideSheets
end