🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.vbasic
2 messages
2 total messages Started by Richard Lyall Mon, 03 Nov 1997 11:47
Clipboard Manipulation in VBA
#109
Author: Richard Lyall
Date: Mon, 03 Nov 1997 11:47
10 lines
1124 bytes
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)
Re: Clipboard Manipulation in VBA
#110
Author: 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)
> 
> 
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads