LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
USH USH is offline
external usenet poster
 
Posts: 7
Default .PutInClipboard

hELLo EVERYBODY !!
I found this sub on some useful site..
she makes all it's expected from her..
( copy a value to clipboard that will be pasted to an external program
with a mouse macro..)
now everything is working well..
but i don't understand the suggestion in the commented block...
nor if and what i have to do about. tx ! paolo

Sub CopytoClipboard()
' Requires a reference to Microsoft Forms Object Library
' An easy way to do this is to add and then delete a form;
' the reference will persist
With New DataObject
.SetText ActiveCell.Value
.PutInClipboard
End With
End Sub
 
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
DataObject: PutInClipboard Not implemented Mike H. Excel Programming 1 November 20th 09 02:51 PM
Copying cell text to clipboard (using Putinclipboard) Libby Excel Programming 2 January 29th 09 06:46 PM
putInClipboard errors on mac subra Excel Programming 0 November 12th 03 03:39 PM


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