• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Un-select Cell with VBA

mgarciadelacruz

New Member
Hi,

I'm working in a macro, and in the SelectionChange procedure, the following code


ActiveCell.Select

Selection.Copy

Range("AG44").PasteSpecial _

Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _

False, Transpose:=False


is copying the value of the selected cell to an specific cell. How is it possible to de-select the activecell?


Thanks
 
add this line after your Paste line


Application.CutCopyMode = False
 
Back
Top