Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Rich Text Box

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rich text box in forms ed.ayers315 Excel Discussion (Misc queries) 0 January 20th 10 02:33 PM
Rich Text Boxes SueDot Excel Worksheet Functions 2 May 18th 09 05:00 PM
Microsoft Rich Text Box registration raypayette Excel Discussion (Misc queries) 0 December 29th 05 09:25 PM
Problem with Excel using a .Net rich text box Esteban404 Excel Programming 1 July 15th 04 04:00 PM
Rich Text Control will not load in Office VBA apps. Julian Milano Excel Programming 1 June 14th 04 01:18 PM


All times are GMT +1. The time now is 09:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"