Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 89
Default Application.CutCopyMode = False

Does this only need to occur once in a module/macro?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default Application.CutCopyMode = False

it needs to occur anytime you are cutting / copying / pasting & you
want the "marching ants" marquee to go away.
:)
susan


On Aug 13, 10:25*am, Simon wrote:
Does this only need to occur once in a module/macro?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Application.CutCopyMode = False

If you are doing a series of cut, copy, paste or insert then you can put the
Application.CutCopyMode = False after the last one. As Susan pointed out, it
makes the marching ants go away from the last copy range if you used the
Select method to copy the range. If you use the direrect copy method like:

Worksheets(1).Range("A1").Copy Worksheets(2).Range("B5")

Then the marching ants don't show up.

If you are using PasteSpecial, you will need to turn the CutCopyMode off
after you have finished all of your copy actions. The number of times that
it is used is up to the programmer, but generally speaking, it is only
required after all copy processes are finished.
"Simon" wrote:

Does this only need to occur once in a module/macro?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Application.CutCopyMode = False

"but generally speaking, it is only required after all copy processes are
finished"... You are better off to cancel the copied section each time. If
you don't and something goes wrong then you could end up by pasting the wrong
info without the code letting you know that the error occured. Usually that
kind of thing happens when you make code changes that mess up your copy
actions... It is just one of those fail safes that makes things a bit less
prone to doing bad things...
--
HTH...

Jim Thomlinson


"JLGWhiz" wrote:

If you are doing a series of cut, copy, paste or insert then you can put the
Application.CutCopyMode = False after the last one. As Susan pointed out, it
makes the marching ants go away from the last copy range if you used the
Select method to copy the range. If you use the direrect copy method like:

Worksheets(1).Range("A1").Copy Worksheets(2).Range("B5")

Then the marching ants don't show up.

If you are using PasteSpecial, you will need to turn the CutCopyMode off
after you have finished all of your copy actions. The number of times that
it is used is up to the programmer, but generally speaking, it is only
required after all copy processes are finished.
"Simon" wrote:

Does this only need to occur once in a module/macro?

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CutCopyMode=False does not work Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 4 September 19th 08 05:32 PM
Application.CutCopyMode Steve Excel Programming 1 July 11th 07 10:36 PM
Can't paste when CutCopyMode is false even though clipboard is not Paul628 Excel Programming 0 April 5th 06 07:42 PM
Why is Application.CutCopyMode False? Gary''s Student Excel Programming 2 February 16th 06 10:08 PM
CutCopyMode = False Michael Smith Excel Programming 5 May 7th 04 05:33 PM


All times are GMT +1. The time now is 03:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"