This userform edits cell contents as you type, while preserving the font.
The initiation starts at the class module "clsTextBox". There are two methods. (1) "MyTextBox_Change" is used when the cursor is placed somewhere before typing begins. (2) "MyTextBox_KeyPress" is used if part of the text is highlighted before typing.
There is an issue if the BACKSPACE or DELETE key is used, it throws out the fonts.
Is there a way to capture the BACKSPACE and DELETE event? So I can write a separate module for this.
CLASS MODULE clsTextBox![]()
Please Login or Register to view this content.
FORM CODE![]()
Please Login or Register to view this content.
Bookmarks