Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Multiple fonts in a VBA UserForm label (to make XL 95 form non-modal)

I want to convert an XL 95 style form to a VBA user form so that it
can be non-modal. However, I also need to be able to have multiple
fonts within the label. Ie what could be done with DrawingObject|
Shape.Characters.Font.

I suspect that this is not possible in a relatively clean way.
AndyPope.info uses some code by Steve Bullen to make images out of
shapes cut to the clipboard using Win32 calls -- much black magic and
rather slow. There are also third party Active X controls, but that
would complicate my install -- 100% VBA is nice.

Any ideas most welcome.

Anthony

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Multiple fonts in a VBA UserForm label (to make XL 95 form non-modal)


Depending on exactly what you are trying to display,
multiple overlapping transparent labels could work.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Anthony Berglas"
wrote in message
I want to convert an XL 95 style form to a VBA user form so that it
can be non-modal. However, I also need to be able to have multiple
fonts within the label. Ie what could be done with DrawingObject|
Shape.Characters.Font.

I suspect that this is not possible in a relatively clean way.
AndyPope.info uses some code by Steve Bullen to make images out of
shapes cut to the clipboard using Win32 calls -- much black magic and
rather slow. There are also third party Active X controls, but that
would complicate my install -- 100% VBA is nice.
Any ideas most welcome.
Anthony

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Multiple fonts in a VBA UserForm label (to make XL 95 form non-modal)

Yes, I had thought of that. But I need a lot of font changes. And in
XL07 there is no good way to find the natural width of a string.

So I think that I am stuck with non-modal forms. Or non-colored
forms.

XL95 was pretty good!

Anthony

On Aug 13, 12:12 am, "Jim Cone" wrote:
Depending on exactly what you are trying to display,
multiple overlapping transparent labels could work.
--
Jim Cone
San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)

"AnthonyBerglas"
wrote in message
I want to convert an XL 95 style form to a VBA user form so that it
can be non-modal. However, I also need to be able to have multiple
fonts within the label. Ie what could be done with DrawingObject|
Shape.Characters.Font.

I suspect that this is not possible in a relatively clean way.
AndyPope.info uses some code by Steve Bullen to make images out of
shapes cut to the clipboard using Win32 calls -- much black magic and
rather slow. There are also third party Active X controls, but that
would complicate my install -- 100% VBA is nice.
Any ideas most welcome.Anthony



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
Userform modal Dave K[_3_] Excel Discussion (Misc queries) 1 April 9th 10 07:41 AM
Setting Top and Left of Modal UserForm Bart[_6_] Excel Programming 3 July 12th 07 04:17 PM
Setting Top and Left of Modal UserForm Bart[_6_] Excel Programming 0 July 12th 07 03:08 PM
Modal Userform and Preview on Screen Jos Vens[_2_] Excel Programming 9 February 13th 06 09:50 PM
Non -Modal form disappears Chris W[_3_] Excel Programming 2 March 17th 05 06:11 PM


All times are GMT +1. The time now is 07:41 AM.

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"