On Enter Event Procedure On Enter Event Procedure Garridon (Programmer) (OP) 10 Aug 00 13:09 I've been using the following code in the On Enter Event Procedure to make the cursor go to the end of the text in a text box instead of highlighting it: Me!txtActionItem.SelStart = Me!txtActionItem.SelLengthIs there another way to have this code apply to the entire form, as opposed to putting it in for each text box? Linda AdamsGarridon@aol.comLinda Adams OnlineI'm a professional writer, published internationally. RE: On Enter Event Procedure jimmythegeek (Programmer) 11 Aug 00 17:46 There is no easy, or pretty way.One of the options is to create a private function in your form:==========Private Sub GoToEnd(strField As String) Me(strField).SelStart = Me(strField).SelLengthEnd Sub==========Then on the Got Focus Event of each field you want this to happen to, put the following:==========Private Sub City_GotFocus() Call GoToEnd("City")End Sub==========Replace the red to the same as the bolded field name:This will be alot of code, as every text box On Got Focus Event will have Call GoToEnd("FieldName"), but it will work. Jim Lundecompugeeks@hotmail.comCompuGEEKSCustom Application Development RE: On Enter Event Procedure aug4570 (TechnicalUser) 16 Aug 00 21:32 Linda, Can't you just go to the Tools/Options/Keyboard Tab and select "Go to End of Field" under "Behavior Entering Field"? This makes the cursor go to the end of the fields instead of highlighting the complete field.