<-- Previous || Up || Next -->

String To Clipboard Function
Basic Extensions Class

Public Function StringToClipboard( _
      ByVal vClipData As Variant _
    ) As Boolean

Place a String onto the Windows Clipboard as Text.

Top20: This function is among our "top-twenty" most useful.
    ? StringToClipboard("This is a test.")
    ? ClipboardToString()
    This is a test.
See also:
    ClipboardToString Function
    StringToFile Function
    SetText Method (Visual Basic)
    Clipboard Object (Visual Basic)
vClipData: The String that is to be placed on the Clipboard in Text format, replacing any other information currently on the Clipboard. Function returns False if vClipData is Null or cannot be fixed up to a String. Otherwise, the function places the String on the Clipboard and returns True.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.