Re: copy to clipboard
- From: Michael Bauer <mb@xxxxxxxx>
- Date: Fri, 24 Feb 2006 07:09:53 +0100
Am Thu, 23 Feb 2006 11:27:30 -0800 schrieb Joel Allen:
Are you running VBScript instead of VBA?
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --
Thank you.2.0
I get an error though on this line:
Dim MyDataObj As New DataObject
It says "expected end of statement". I have added the "Microsoft Forms
Library" to my references too..
Thanks for your help,
Joel
"Michael Bauer" <mb@xxxxxxxx> wrote in message
news:1shap8a8zczse.1tus4lc6cus9u$.dlg@xxxxxxxxxxxxx
Am Wed, 22 Feb 2006 15:54:59 -0800 schrieb Joel Allen:
...
MyDataObj.Clear
MyDataObj.SetText "Whatever", 1
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --
Thanks. I tried this and it's not working. Am I close? I'm tryin toget
the content of TestField into the clipboard.to
Dim MyDataObj As New DataObject
MyDataObj = Item.UserProperties("TestField")
MyDataObj.SetText
Thanks for your help,
Joel
"Michael Bauer" <mb@xxxxxxxx> wrote in message
news:17lmax7e0x9u2$.2d58l1swbs4o$.dlg@xxxxxxxxxxxxx
Am Tue, 21 Feb 2006 16:50:48 -0800 schrieb Joel Allen:
Joel, please add a reference onto the "Microsoft Forms 2.0 Library"
sendyour
project. You can use that library´s DataObject object; call the Clear
method
first and then use SetText to write your text into the clipboard.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --
Hello,
I want to programatically copy text from one of my task fields and
simpleit
to the
clipboard.
Can you someone point me in the right direction or give me some
sample code?
Thank you,
Joel
- Follow-Ups:
- Re: copy to clipboard
- From: Joel Allen
- Re: copy to clipboard
- References:
- copy to clipboard
- From: Joel Allen
- Re: copy to clipboard
- From: Michael Bauer
- Re: copy to clipboard
- From: Joel Allen
- Re: copy to clipboard
- From: Michael Bauer
- Re: copy to clipboard
- From: Joel Allen
- copy to clipboard
- Prev by Date: Re: Macro to open, retrieve contents, print, and loop through process
- Next by Date: Re: GetItemFromID method on a public folder in the namespace
- Previous by thread: Re: copy to clipboard
- Next by thread: Re: copy to clipboard
- Index(es):
Relevant Pages
|
Loading