Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clipbord copy

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
Is there a way in vba to copy the content of a record, or field on a Form by the event click on a bottom. In other words, without selecting the content and choising the copy command.
 
Well, in VBA you can get the contents of a control by referencing that control and use either the .Value or .Text properties depending on where the focus is (caption property for labels). If you only want part of the control, use the Mid() funciton.

What are you trying to do exactly? More information would be good.

"If it's stupid but works, it isn't stupid."
-Murphy's Military Laws
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top