Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2005

Tip: Looking for answers? Try searching our database.

Select entire text in Text box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steven R - 09 Nov 2005 16:25 GMT
I know this can be done by tabbing into a field or double-clicking (carefully)
, but my users are going to be frequently selecting text to copy/paste - it
would be nice if the could click a button to select all the text in the field
- I know send keys doesn't work real well, but it would be nice if there was
a way I could also do CTRL+C programmatically in VBA
Ken Snell [MVP] - 09 Nov 2005 16:40 GMT
From a post by Douglas Steele, ACCESS MVP:
-------------------

Take a look at http://support.microsoft.com/?id=138909

Once you've saved all that code into a new module (make sure you don't name
the module ClipBoard_SetData!), you'd simply need to put
ClipBoard_SetData(strNumbers) in your code somewhere.

http://support.microsoft.com/?id=138910 shows similar code for reading from
the clipboard.
-------------------

You then could run code via button click event that would use the
ClipBoard_SetData procedure to read the .Value of the textbox and write it
to the clipboard.

Signature

       Ken Snell
<MS ACCESS MVP>

>I know this can be done by tabbing into a field or double-clicking
>(carefully)
[quoted text clipped - 5 lines]
> was
> a way I could also do CTRL+C programmatically in VBA
Steven R - 09 Nov 2005 17:14 GMT
Ken,
Thanks !

>From a post by Douglas Steele, ACCESS MVP:
>-------------------
[quoted text clipped - 18 lines]
>> was
>> a way I could also do CTRL+C programmatically in VBA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.