Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default clear the copy


i have some code which i use to open another workbook, copy in some daa
and then close it after but this creates a pop up asking if i wish t
keep the data for pasting in later. Is there some code i can use t
clear the copy without the pop up

--
ceem
-----------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...fo&userid=1065
View this thread: http://www.excelforum.com/showthread.php?threadid=54854

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default clear the copy

Hi Ceemo,

You could try Application.CutCopyMode = False, this I think clears it
another alternative is to switch warnings off, ie
Application.DisplayAlerts = False which would not prompt about clearing
the data IF you use this method remember to switch it back on at the
end of your code ie Application.DisplayAlerts = True.

Cheers,

James

ceemo wrote:
i have some code which i use to open another workbook, copy in some daat
and then close it after but this creates a pop up asking if i wish to
keep the data for pasting in later. Is there some code i can use to
clear the copy without the pop up?


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=548547


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default clear the copy

have you tried

application.cutcopymode = false

before you close the workbook

HTH

Duncan

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
Clear and Copy vs Delete Barry Lennox[_2_] Excel Discussion (Misc queries) 2 December 19th 08 08:46 PM
Clear Clipboard after Copy Connie Excel Discussion (Misc queries) 2 November 8th 06 07:20 AM
How clear the cut/copy blinking boxes after macro John Excel Worksheet Functions 2 January 13th 06 11:37 PM
Copy and clear problem sminky Excel Programming 3 May 20th 04 04:45 PM
clear, copy and paste Richard Leclezio Excel Programming 4 September 12th 03 05:13 PM


All times are GMT +1. The time now is 06:51 AM.

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

About Us

"It's about Microsoft Excel"