Hello All,
I need help with a RichTextBox Control. I have an MS Access report that has a RichTextBox control. The control gets its data from a field in the database that contains chemical formulas, e.g. H2O. What I need to do is search the RichTextBox for any numbers and make them subscripts, in H2O the "2" would be subsripted.
I have been doing some searching for VB code samples to help me do this. If I understand correctly I would need to programatically select the numbers and use the SelectCharOffset Property. Does anyone have any experience with this, I am a complete newbie to VB.
Any help would be greatly appreciated! Thanks
I need help with a RichTextBox Control. I have an MS Access report that has a RichTextBox control. The control gets its data from a field in the database that contains chemical formulas, e.g. H2O. What I need to do is search the RichTextBox for any numbers and make them subscripts, in H2O the "2" would be subsripted.
I have been doing some searching for VB code samples to help me do this. If I understand correctly I would need to programatically select the numbers and use the SelectCharOffset Property. Does anyone have any experience with this, I am a complete newbie to VB.
Any help would be greatly appreciated! Thanks