In this Microsoft Access tutorial, I’m going to teach you how to select all of the text in a text box on a form when you click on it. This way, you can just click and type, much like how Excel works when you click on a cell.

Gabriel from Plano, Texas (a Platinum Member) asks: When I click on a cell in Microsoft Excel, the entire cell is selected, and if I want to overwrite that, I just begin typing. In Microsoft Access, when I click on a field, the cursor goes wherever I click, which could be in the middle of the data or at the end or wherever. Is there a way that I can make it so that when I click on a field on a form, all of the data in that field is selected so I can just type over it instead of having to manually select it with the mouse? It works fine if I tab to it, but I use the mouse more than I tab around the form. I just want to click and type.

BECOME A MEMBER:
YouTube: https://youtube.com/channel/UCl7-jJie4ifOVK87FINIuDg/join
or My Site: https://599cd.com/THMember

LEARN MORE:
Select Text On Click: https://599cd.com/SelectTextOnClick

PREREQUISITES:
Intro to VBA: https://599cd.com/IntroVBA
String Functions: https://599cd.com/StringFunctions
Create Function: https://599cd.com/CreateFunction

FREE TEMPLATE DOWNLOADS:
TechHelp Free Templates: https://599cd.com/THFree
Blank Template: https://599cd.com/Blank
Contact Management: https://599cd.com/Contacts
Order Entry & Invoicing: https://599cd.com/Invoicing
More Access Templates: https://599cd.com/AccessTemplates

ADDITIONAL RESOURCES:
FREE Access Beginner Level 1: https://599cd.com/Free1
How to Use Access in 30 Minutes: https://599cd.com/30Minutes
$1 Access Level 2: https://599cd.com/1Dollar
Donate to my Tip Jar: https://599cd.com/TipJar
Get on my Mailing List: https://599cd.com/YTML
Contact Me: https://599cd.com/Contact
TechHelp: https://599cd.com/TechHelp
Consulting Help: https://599cd.com/DevNet
Twitter: https://twitter.com/LearningAccess
https://en.wikipedia.org/wiki/Microsoft_Access
https://products.office.com/en-us/access
https://microsoft.com/en-us/microsoft-365/blog/access/

KEYWORDS:
TechHelp Access 2016, Access 2019, Access 2021, Access 365, Microsoft Access, MS Access, MS Access Tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, select all text, SelStart, SelLength, Screen.ActiveControl, Len, Text Property, Excel Cell Click, Access form text select, Select all text Access form, VBA text selection, Access OnClick text select

QUESTIONS:
Please feel free to post your questions or comments below. Thanks.
Live long, and prosper.

source