Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Incorporating VB6 RichText control into Excel VBA

Hi everybody.

I'm working with a VBA userform that allows the user to enter text into
one of the text box controls. The brief includes a requirement to
highlight sections of text which are in error. I understand that text
boxes do not support multiple fonts, therefore can someone provide me
with step by step instructions on how to incorporate a VB6 RichText
control into VBA ? I would be most grateful.

I have to forward the finished project to external users in a secure
fashion and therefore may have to create a VB6 dll. Would I be better
off passing my VBA code to VB6 and adding the RichText control at that
time ? Finally, do I need to consider whether the RichText control is
compatable with older versions of Excel ?

Thanks very much. Chatterbox

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Incorporating VB6 RichText control into Excel VBA

I've always had problems with the Rich Text control in VBA. You
might be better off using a VB6 Form in your DLL to contain the
Rich Text control.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"chatterbox" wrote in message
oups.com...
Hi everybody.

I'm working with a VBA userform that allows the user to enter
text into
one of the text box controls. The brief includes a requirement
to
highlight sections of text which are in error. I understand
that text
boxes do not support multiple fonts, therefore can someone
provide me
with step by step instructions on how to incorporate a VB6
RichText
control into VBA ? I would be most grateful.

I have to forward the finished project to external users in a
secure
fashion and therefore may have to create a VB6 dll. Would I be
better
off passing my VBA code to VB6 and adding the RichText control
at that
time ? Finally, do I need to consider whether the RichText
control is
compatable with older versions of Excel ?

Thanks very much. Chatterbox



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Incorporating VB6 RichText control into Excel VBA

Chip, is it possible for you to show me a brief code example how that would
be done? I'm confused as to how a rich text control is wrapped by a VB6
UserControl or Form and then incorporated into the Excel VBA. Do you import
the VB6 Form or UserControl into the Excel VBE? Do you first have to save
the VB6 Form in a VB6 project? As you can see, I'm just not clear about the
details how you incorporated what you develop in VB6 into an Excel program.

"Chip Pearson" wrote:

I've always had problems with the Rich Text control in VBA. You
might be better off using a VB6 Form in your DLL to contain the
Rich Text control.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"chatterbox" wrote in message
oups.com...
Hi everybody.

I'm working with a VBA userform that allows the user to enter
text into
one of the text box controls. The brief includes a requirement
to
highlight sections of text which are in error. I understand
that text
boxes do not support multiple fonts, therefore can someone
provide me
with step by step instructions on how to incorporate a VB6
RichText
control into VBA ? I would be most grateful.

I have to forward the finished project to external users in a
secure
fashion and therefore may have to create a VB6 dll. Would I be
better
off passing my VBA code to VB6 and adding the RichText control
at that
time ? Finally, do I need to consider whether the RichText
control is
compatable with older versions of Excel ?

Thanks very much. Chatterbox




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
Incorporating Text Box in Excel Chart Al Charbonneau[_2_] Charts and Charting in Excel 4 March 22nd 10 11:16 AM
Incorporating 2 different worksheets miteeka Charts and Charting in Excel 6 February 8th 07 06:08 PM
Incorporating Excel Spreadsheet into Word? Pookie76 Excel Discussion (Misc queries) 1 March 30th 06 08:36 PM
Incorporating Matrix Functions From Excel LHenkel Excel Programming 1 April 19th 05 01:39 PM
Richtext Control Veera Excel Programming 1 July 19th 03 12:44 PM


All times are GMT +1. The time now is 02:44 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"