I am editing all of the form fields, when I click the "Save" button. This is creating a string that will be displayed in a msgbox. When the user clicks on "OK", I want to set the focus on the first field in the error list, and highlight part, or all, of the data in the field.
So, the questions are:
1. Can I set a variable to the name of a field, that will be used in the SetFocus command?
2. Can I highlight a portion of the data in a text box? i.e. If the txtTitle length is more than 35 characters, set the focus to the txtTitle and highlight the first 35 characters (or the characters after the 35th).