Paste text from Clipboard into Text Box (1 Viewer)

ne1983

New member
Local time
Tomorrow, 05:27
Joined
Nov 24, 2015
Messages
6
Hey There - just need some VBA that will paste data from the clipbaord into a specific textbox.

Context = user copies a URL from web browser - and then just needs to hit one botton that pastes the URL into the [DB_Links_Executable] text-box(just to save having to click into the box and press CTRL V)

Thanks
 

missinglinq

AWF VIP
Local time
Today, 14:27
Joined
Jun 20, 2003
Messages
6,423
Forum etiquette dictates that when the original poster solves the problem by himself he posts the solution, so that others having the same problem may benefit.

That being said, the simple solution to this would have been

Code:
Private Sub cmdPaste_Click()
 Me.[DB_Links_Executable].SetFocus
 DoCmd.RunCommand acCmdPaste
End Sub
Linq ;0)>
 

Users who are viewing this thread

Top Bottom