disable formatting while copy paste operation in excel
I'm come around with the following code to disable to formatting while cell copy paste operation- Private Sub Worksheet_Change(ByVal Target As Range) With Application .EnableEvents = False myValue = Target.Formula .Undo Target.Formula = myValue .EnableEvents = True End With End If Application.CutCopyMode = False End Sub Code works perfect but it insert many other issues in the sheet. Not able to use the undo/redo functionality Not able to change the focus of cell in single click. Any idea would be appreciated.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.