Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I code that imports Texts file into Excel and I then I have a script
that bolds the keywords. I want to move the text files to a user form so it is easier for a user to edit the data. I found out I have to use a rich text box in order make the keywords in bold. I can the open the file with: MyRichTextBox.loadfile("C:\TEST.TXT") Then I still do not know how to make the keyword bold. And when I try to save the text file it will only save as a Rich Text File. I tried MyRichTextBox.savefile("C:\TEST1.TXT",RichTextBoxS treamType.PlainT*ext) But VBA does not like RichTextBoxStreamType.PlainT*ext This only works MyRichTextBox.savefile("C:\TEST1.TXT") Then I get Rich Text File data. Can anyone help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
rich text box in forms | Excel Discussion (Misc queries) | |||
Rich Text Boxes | Excel Worksheet Functions | |||
Microsoft Rich Text Box registration | Excel Discussion (Misc queries) | |||
Problem with Excel using a .Net rich text box | Excel Programming | |||
Rich Text Control will not load in Office VBA apps. | Excel Programming |