Skip to main content

[archive] Copy/Paste with grids

  • June 2, 2008
  • 4 replies
  • 0 views

[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!

4 replies

[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!
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.

[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!
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.

[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!
you can use the CLIPACU.DLL found on this site in the sample file downloads


where on this site are the sample downloads?

Keith

[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!
Its on the Acucorp sample programs download area - GUI samples
http://www.acucorp.com/support/public/sample_programs/index.php