AOB
Registered User.
- Local time
- Today, 12:37
- Joined
- Sep 26, 2012
- Messages
- 633
Hi,
Bit of a general question as I'm anticipating there being quite a bit of work involved to get this right. But just looking for a pointer in the right direction before I plough on...
I have a user form which my end users will populate on a regular basis (multiple times per day) There are quite a number of fields (~20) which are filled with information taken from another application. Currently, this would be done manually (literally, split screen, by eye, manual keying) which I would obviously prefer to do away with.
The source system in question does allow users to highlight a row of information and copy it to the clipboard (along with the appropriate field headings) I would like to incorporate some VBA to take in that clipboard data, identify the fields and values and then populate the form automatically. I'm fairly confident I can write the code to perform all the various checks and apply the relevant data to the appropriate controls on the form.
The problem is, how do I connect to the clipboard using VBA to read the contents into a string variable (or array/collection/dictionary) from which I can then apply further logic before filling the form?
I've seen some reference to inherent clipboard functions on MSDN but these seem specific to Office 2013 (and possibly 2010) so not sure if these would apply to 2007?
Does anybody know if it's possible to interact with the clipboard using VBA within Access? And can you put me on the right track?
Thanks in advance for any information!
AOB
Bit of a general question as I'm anticipating there being quite a bit of work involved to get this right. But just looking for a pointer in the right direction before I plough on...
I have a user form which my end users will populate on a regular basis (multiple times per day) There are quite a number of fields (~20) which are filled with information taken from another application. Currently, this would be done manually (literally, split screen, by eye, manual keying) which I would obviously prefer to do away with.
The source system in question does allow users to highlight a row of information and copy it to the clipboard (along with the appropriate field headings) I would like to incorporate some VBA to take in that clipboard data, identify the fields and values and then populate the form automatically. I'm fairly confident I can write the code to perform all the various checks and apply the relevant data to the appropriate controls on the form.
The problem is, how do I connect to the clipboard using VBA to read the contents into a string variable (or array/collection/dictionary) from which I can then apply further logic before filling the form?
I've seen some reference to inherent clipboard functions on MSDN but these seem specific to Office 2013 (and possibly 2010) so not sure if these would apply to 2007?
Does anybody know if it's possible to interact with the clipboard using VBA within Access? And can you put me on the right track?
Thanks in advance for any information!
AOB