Article ID: 138910 - Last Review: January 19, 2007 - Revision: 3.3 ACC: How to Retrieve Information from the Clipboard (95/97)This article was previously published under Q138910 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
Microsoft Access does not have a command to retrieve information from the Clipboard. To retrieve information from the Clipboard, you need to define a Visual Basic for Applications function that calls several Windows API functions. This article defines a function that retrieves text from the Clipboard. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. MORE INFORMATION
To retrieve information from the Clipboard, follow these steps.
NOTE: You may have some Microsoft Windows API functions defined in an existing Microsoft Access library; therefore, your declarations may be duplicates. If you receive a duplicate procedure name error message, remove or comment out the declarations statement in your code.
REFERENCES
For an example of how to retrieve information from the Clipboard in
Microsoft Access 1.x and 2.0, please see the following article in the
Microsoft Knowledge Base:
94162
(http://support.microsoft.com/kb/94162/EN-US/
)
ACC: How to Retrieve Information from the Clipboard
(1.x, 2.0)
For more information about declaring API functions, search for "Declare
statement" and then "Declare Statement" using the Microsoft Access 97 Help
Index.
| Article Translations
|


Back to the top
