Access/VBA Library

Clipboard

Functions to store and retrieve strings from the Windows Clipboard.

This module consists of a lot of API definitions to access the Clipboard object and memory management. Basically, the two important functions are GetStringFromClipboard and CopyStringToClipboard.

Module: mdlClipboard
Example
 Dim fromCP As string
 fromCP = GetStringFromClipboard()
 Call CopyStringToClipboard( "This string will be copied")

Topics