Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Toolbar control for a form


I'm working with the richText control on a vba form. Essentially I want to
recreate the formatting command bar on my form so that I can use the bold,
italic, underline and font colour buttons as they normally appear in excel.

Can anyone help me to remake this command bar on a form?

- Rm
  #2   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default Toolbar control for a form

Can't give you the whole solution, but maybe a start.

Create toggle buttons (one for bold, italics, underline) and one drop down
(for font color)
Make them look as much like the toolbar as you can and place code in each
change event to toggle the fonts.



"Robert Mulroney" wrote:


I'm working with the richText control on a vba form. Essentially I want to
recreate the formatting command bar on my form so that I can use the bold,
italic, underline and font colour buttons as they normally appear in excel.

Can anyone help me to remake this command bar on a form?

- Rm

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Toolbar control for a form


Thanks, that actually what I ended up doing. I've used the ImageCombo box to
recreate the font select combo. I just screen dumbed an image of what the
options in excels font select look like and slotted the image into an
imagecombo. It's not a perfect solution becase if I want to add a new font I
have to create a new image each time. It does look pretty good though.

- Rm


"JNW" wrote:

Can't give you the whole solution, but maybe a start.

Create toggle buttons (one for bold, italics, underline) and one drop down
(for font color)
Make them look as much like the toolbar as you can and place code in each
change event to toggle the fonts.



"Robert Mulroney" wrote:


I'm working with the richText control on a vba form. Essentially I want to
recreate the formatting command bar on my form so that I can use the bold,
italic, underline and font colour buttons as they normally appear in excel.

Can anyone help me to remake this command bar on a form?

- Rm

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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
Form Toolbar verses Control Toolbar ub Excel Discussion (Misc queries) 3 July 11th 08 10:57 PM
Using the Control Toolbar Kathy Excel Worksheet Functions 2 January 26th 05 03:23 AM
Tool Tip Text for Form control/ Active-X control Freddie[_2_] Excel Programming 0 October 19th 04 04:14 AM
control toolbar Otto Selis Excel Programming 4 February 18th 04 09:14 PM


All times are GMT +1. The time now is 04:59 PM.

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

About Us

"It's about Microsoft Excel"