My situation is a little different than other posts I read. Most posts show how to find and select certain text in a textbox, and then change the formating of the control (textbox). Since the form is a datasheet style form, changing the formating of the control will change the formating for that field in all records! I want to change the formating of the text IN the textbox so that the formating is captured in the memo field for an individual record. Make sense?
I've figured out how to find the records, fields, and text that I want to modify, but I'm missing the line of code that modifies text formating. Here's a sample of what I have:
Expand|Select|Wrap|Line Numbers
- Me.MyTextBox.SetFocus
- Me.MyTextBox.SetFocus.SelStart = 0
- Me.MyTextBox.SetFocus.SelLength = Len(MyRichTextBox.Value)
Any help is greatly appreciated.