🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #110

Re: Clipboard Manipulation in VBA

#110
From: Joăo Alfredo Mattos
Date: Thu, 06 Nov 1997 17:02
35 lines
1528 bytes
To get a text string from the clipboard:

txtMyString  = Clipboard.GetText

To put a text string into clipboard:

Clipboard.SetText txtMyString

You can also get and graphics with Clipboard.SetData and Clipboard.GetData

-- 
Regards,

Joao Mattos
--------------------
e-mail:  jmattos@openlink.com.br
ICQ: 1808428

Richard Lyall <rlyall@NOSPAMrmplc.net> escreveu no artigo
<repost.63kdlp$sdd$1@panther.rmplc.co.uk>...
> Does anyone know how to take a text string (stored in a string variable
such
> as strText) and place it on the clipboard using VBA?
> 
> The VB3 clipboard functions seem to have vanished, unless I have missed
> something.
> 
> Any help appreciated.
> 
> Richard K. Lyall
> (Remove NOSPAM from my email address to reply)
> 
> 
> 
Technical Details
Message-ID: <01bcea15$717c0fe0$02010101@jmattos>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!fu-berlin.de!news.maxwell.syr.edu!newsfeed.internetmci.com!207.172.3.52!feed1.news.erols.com!zdc!szdc!super.zippo.com!newsp.zippo.com!snews2
References: <repost.63kdlp$sdd$1@panther.rmplc.co.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!fu-berlin.de!news.maxwell.syr.edu!newsfeed.internetmci.com!207.172.3.52!feed1.news.erols.com!zdc!szdc!super.zippo.com!newsp.zippo.com!snews2
From: Joăo Alfredo Mattos <jmattos@openlink.com.br>
Newsgroups: pl.comp.lang.vbasic
Subject: Re: Clipboard Manipulation in VBA
Date: 6 Nov 1997 17:02:59 GMT
Organization: Virtual Software
Lines: 35
Message-ID: <01bcea15$717c0fe0$02010101@jmattos>
References: <repost.63kdlp$sdd$1@panther.rmplc.co.uk>
NNTP-Posting-Host: p-050.newsdawg.com
X-Newsreader: Microsoft Internet News 4.70.1161
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit