Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default How to clear clipboard content programatically

Hi,

I am writing a macro program which copies the contents whole sheet1 of
workbook1 and paste it to sheet1 to workbook2. After that, the program closes
workbook1. But I always got a prompt and saying that I have a large amount of
information in Clipboard and it askes if I want to be able to paste into
another program later. Actually I don't want this prompt and closes workbook1
directly. Anyone knows how to bypass this programatically?
Thanks!

Ivan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How to clear clipboard content programatically

Hi Ivan,

See Chip Pearson's Clipboard page at:

http://www.cpearson.com/excel/clipboar.htm

See particularly the section at the foot of the page entitled:
'Clearing the Clipboard'


---
Regards,
Norman



"Ivan" wrote in message
...
Hi,

I am writing a macro program which copies the contents whole sheet1 of
workbook1 and paste it to sheet1 to workbook2. After that, the program
closes
workbook1. But I always got a prompt and saying that I have a large amount
of
information in Clipboard and it askes if I want to be able to paste into
another program later. Actually I don't want this prompt and closes
workbook1
directly. Anyone knows how to bypass this programatically?
Thanks!

Ivan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default How to clear clipboard content programatically

Ivan:

try,
Use Application.CutCopyMode = False

example,

****.copy
.................

****.Past
Application.CutCopyMode = False
--
天行健,君*以自強不息
地勢坤,君*以厚德載物

http://www.vba.com.tw/plog/


"Ivan" wrote:

Hi,

I am writing a macro program which copies the contents whole sheet1 of
workbook1 and paste it to sheet1 to workbook2. After that, the program closes
workbook1. But I always got a prompt and saying that I have a large amount of
information in Clipboard and it askes if I want to be able to paste into
another program later. Actually I don't want this prompt and closes workbook1
directly. Anyone knows how to bypass this programatically?
Thanks!

Ivan

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to clear clipboard content programatically


Hello Ivan,

Application.CutCopyMode = False

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=487502

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
Why does it clear my clipboard? Jessica P Excel Discussion (Misc queries) 5 March 19th 08 09:14 PM
VBA Clear clipboard NickH[_3_] Excel Programming 5 November 13th 05 06:02 PM
Clipboard clear Reuel Excel Programming 9 October 24th 05 05:08 PM
Clear Clipboard in VB Steve Excel Programming 2 February 26th 04 02:30 PM
Clear Clipboard John McGimpsey Excel Programming 0 February 1st 04 10:14 PM


All times are GMT +1. The time now is 12:23 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"