I have noticed some macro's run ok from the editor but when I put a button on the ribbon the macro looks like nothing happens.
So I then run one line at a time and notice the macro will run, but when it reaches "End Sub" everything undoes.
Not sure if this has been discussed on here but I would be interested in feedback on this.
I have tried "exit sub" before End Sub and moved the macro to a different module but no joy.
So I then run one line at a time and notice the macro will run, but when it reaches "End Sub" everything undoes.
Not sure if this has been discussed on here but I would be interested in feedback on this.
I have tried "exit sub" before End Sub and moved the macro to a different module but no joy.