I have been searching for an answer to this all day, I hope someone here can help.
I am trying to write code in Access 2007 VBA. What I want this code to do is to randomize the font properties of a Rich Text Box. (I know this is possible in Excel via the .Character, but not in Access)
To break it down as simply as I can...
I have 5 fonts to choose from: Lets say Arial, Times, Calibri, Custom, Other. For each character in my RTF textbox (textbox1) I want a font to be randomly chosen...
So the word Supercalifonication would have a random font from these 5 fonts assigned to each letter in the word (and for every letter of every other word in the box, including spaces unless it causes errors). It would be nice to control font size as well as a few other properties. If this can be done with a "With" statement I am sure I can figure it out.
Thank you in advance for any help you provide. If you can sort this out with me, I will be eternally greatfull.
I am trying to write code in Access 2007 VBA. What I want this code to do is to randomize the font properties of a Rich Text Box. (I know this is possible in Excel via the .Character, but not in Access)
To break it down as simply as I can...
I have 5 fonts to choose from: Lets say Arial, Times, Calibri, Custom, Other. For each character in my RTF textbox (textbox1) I want a font to be randomly chosen...
So the word Supercalifonication would have a random font from these 5 fonts assigned to each letter in the word (and for every letter of every other word in the box, including spaces unless it causes errors). It would be nice to control font size as well as a few other properties. If this can be done with a "With" statement I am sure I can figure it out.
Thank you in advance for any help you provide. If you can sort this out with me, I will be eternally greatfull.