Highlighted
Absent Member.
Absent Member.
1674 views

[archive] Copy/Paste with grids

[Migrated content. Thread originally posted on 02 June 2008]

Hello
A quick question. Is it possible to select records from a grid and paste them to an Excel spreadsheet (or anywhere else for that matter)?
Many thanks to all who are reading my many threads on these forums!
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Copy/Paste with grids

you can use the CLIPACU.DLL found on this site in the sample file downloads, I'm pretty sure a sample program is included as well. It's pretty straight forward. just call it passing by reference the data you want to copy to he clipboard.

I just added a popup menu to any of my grids allowing a copy to clipboard function then I gather up all the data on the selected row, format it how I want and call the clipacu.dll then users can paste it anywhere they want after that.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Copy/Paste with grids

Thanks, Mikalodeon
I'm running the sample program and it copies the string to the clipboard, but the Paste command is never activated when I go into Word to paste it.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Copy/Paste with grids

you can use the CLIPACU.DLL found on this site in the sample file downloads


where on this site are the sample downloads?

Keith
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Copy/Paste with grids

Its on the Acucorp sample programs download area - GUI samples
http://www.acucorp.com/support/public/sample_programs/index.php
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.