I couldn't get this to work. When I put an End If at the end of the Macro, it kept saying End If without Block If. Does Then Exit Sub not require an End If? It doesn't work, the macro still runs.
This works;Code:if application.cutcopymode = true then exit sub
I've thought about doing this, but sometimes the info is not the same.Code:if application.cutcopymode=false then do macro
The goal is to circumvent the Selection Change Macro from exiting CutCopyMode and wiping the Clipboard.Code:Range("D10").Formula = Range("B10").Formula
So why wouldn't this statement work?
Can you think of any other ways?Code:if application.cutcopymode = true then exit sub
Can put a code in the beginning that backs up the clipboard somehow? I mean you can programatically copy paste, so why does any other macro clear the Clipboard?




Reply With Quote
