Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default How to make paste FaceID disappear after API paste?

Using Excel 2002.
With the API function SetClipboardData and some other API functions it is
possible to get a variable to the clipboard and paste it. One little problem
is that I can't make the paste symbol or FaceID disappear that shows in the
sheet after a paste. Normally after a paste the escape key would do this.
Would there be any solution for this?
Thanks for any advice.

RBS

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default How to make paste FaceID disappear after API paste?

You can do it with APIs, but here's a simpler solution from Dana DeLouis:

Private Sub ClearClipboard()
Dim MyData As Object
Set MyData = New DataObject
MyData.SetText ""
MyData.PutInClipboard
End Sub

The clipboard is not technically cleared as it contains a null string, but
it should serve your purpose.

--

Vasant


"RB Smissaert" wrote in message
...
Using Excel 2002.
With the API function SetClipboardData and some other API functions it is
possible to get a variable to the clipboard and paste it. One little

problem
is that I can't make the paste symbol or FaceID disappear that shows in

the
sheet after a paste. Normally after a paste the escape key would do this.
Would there be any solution for this?
Thanks for any advice.

RBS



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
make paste values only a ctrl-key? Ian Elliott Excel Discussion (Misc queries) 2 April 17th 09 04:01 PM
Paste and Paste Special No Longer Working - Excel 2003 SheriJ Excel Discussion (Misc queries) 2 January 15th 09 09:23 PM
Why would "paste special" disappear as an option in Excel JI Charts and Charting in Excel 1 October 17th 08 07:53 PM
Make Paste values default... DanF Excel Discussion (Misc queries) 0 July 4th 08 07:21 AM
In Excel: add a Paste-Special Option to paste IN REVERSE ORDER. stan-the-man Excel Worksheet Functions 7 June 14th 06 08:10 PM


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