LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default On-sheet activeX component disables copy/paste

On 07/02/2014 2:12 PM, hbj wrote:
On Wednesday, 2 July 2014 19:38:03 UTC+3, GS wrote:
Thank you Claus,




Your code is of cource shorter, but it does not solve the main problem. When the code runs it grayes out the Clipboard tool. Only Paste as image is available.




H�kan




By default, executing VBA clears the Clipboard of its current contents.



--

-

Garry


Well Garry,

It seems that this is not quite the truth. You can have lot of code in the Worksheet_SelectionChange() procedure, still the Clipboard is not cleared = you can use copy/paste.

In fact, programatically affecting the properties of the embedded ActiveX control clears the clipboard. This fact is partly discussed in the link below:
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

I think I'd better explicitely activate the ActiveX control, when needed.

HÃ¥kan

Sorry.., my bad!
I stand corrected as I should have explicitly stated *some" VBA, not all
as my statement suggests. I was thinking in the context of your scenario!<g

--
-
Garry

Free Usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
 
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
ActiveX ProgressBar - Scrolling Error disables color update Dreiding Excel Programming 1 February 17th 10 12:15 AM
Activex component can't create object Naveen New Users to Excel 1 September 4th 07 02:57 PM
Use Office spreadsheet component in a ActiveX dll No Name Excel Programming 30 January 28th 04 09:52 PM
Spreadsheet component in an ActiveX dll tmarko Excel Programming 1 January 16th 04 02:42 AM
ActiveX component can't be created Singnet Newsgroup Excel Programming 0 August 6th 03 03:27 PM


All times are GMT +1. The time now is 09:34 PM.

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"