CutCopyMode = False

M

Michael Smith

What does this code mean?

Application.CutCopyMode = False

It pops up on all auto recorded code. What would setting it to TRUE do?
Thanks in advance

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
L

Libby

If you select a range and copy (ctrl+C) it you will get a
blinking dashed line around the range. This is
CutCopyMode. Setting it to false is the equivalent of
pressing Escape to get rid of it.
 
K

kkknie

When you select a range and copy it (Ctrl-C or Edit | Copy), th
cutcopymode is set to true. When you have pasted it and hit escape (o
anything else that removes that range as the thing to be copied) it i
set to false.

I have no clue what would happen if you set it to true. Maybe give i
a shot on a test worksheet and see...
 
B

Bob Phillips

True does exactly the same (sic!).


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
G

Gord Dibben

Michael

It clears the clipboard and gets rid of the "marching ants" from around the
copied selection.

If you set it to TRUE, it does the same thing.

From Help.........

False Cancels Cut or Copy mode and removes the moving border.
True Cancels Cut or Copy mode and removes the moving border.

Gord Dibben Excel MVP
 
Top