Use ClipBoard with Windows API

Eric CHEVRON 21 Reputation points
2022-03-18T17:01:53.327+00:00

Hi.

I found a doc.microsoft for send informations to clipboard and get them using Windows API:
https://learn.microsoft.com/en-us/office/vba/access/concepts/windows-api/send-information-to-the-clipboard

Unfortunately, these codes are obsolete because they are incompatible with VBA7.

Does anyone have an updated and working version?

Thanking you in advance
Regards

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,652 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,806 Reputation points
    2022-03-18T17:11:08.307+00:00

    There are articles like Working with Clipboard API
    using PtrSafe or LongPtr if VBA7

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.