How do I get the INSERTION POINT the the right side of a text?
Also.. How do I add strings into a combo box thats style=drop down?
Do I need Microsoft Access to do this?
Printable View
How do I get the INSERTION POINT the the right side of a text?
Also.. How do I add strings into a combo box thats style=drop down?
Do I need Microsoft Access to do this?
Question #1:
Private Sub Text1_GotFocus()
Text1.SelStart = Text1.SelLength
End Sub
As for Question #2, I am at work (where I have VBA, which treats combo boxes and list boxes differently than VB) but I think you can use the additem method:
Combo1.AddItem "My New String"
Yes you can use additem, but I ment was to save the combo, do I need to get Access to save the combo's data?