I need to be able to copy a row or row's and activate the windows copy function and then paste those rows into something like notepad, word or outlook.
how do you activate the copy function on a datagrid?
what I'm trying to do is highlite a row in a datagrid, then press crtl C to copy the entire row then be able to press crtl V to paste that row into anything I want. e.g. an Outlook email, maybe word etc.
If your data grid has an underlying recordset object attached to it, then you can use that recordset's rs.GetString() method to copy the record into a string.
The use the VB.Clipboard method.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.