PC Review


Reply
Thread Tools Rate Thread

Change color on faceid 3077

 
 
kalle
Guest
Posts: n/a
 
      23rd Mar 2010


Hello

I'm using faceid 3077 in a menu I have created and which works well but
how do I change the color of the line?

If I use the Fill Color in the normal menu in Excel, change the line
color to the last used color.

Is it possible to do that by VBA-code?

Thanks in advance

*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      23rd Mar 2010
The faceid is not relevant, at least not directly.

This adds the Line colour dropdown to your commandbar
cbr.Controls.Add ID:=1692
where cbr refers to the commandbar

If you want to programmatically change the line or border colour of some
object record a macro to get the basic syntax (at least you can do that in
2003- which I guess is what you are working with).

Regards,
Peter T

"kalle" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> Hello
>
> I'm using faceid 3077 in a menu I have created and which works well but
> how do I change the color of the line?
>
> If I use the Fill Color in the normal menu in Excel, change the line
> color to the last used color.
>
> Is it possible to do that by VBA-code?
>
> Thanks in advance
>
> *** Sent via Developersdex http://www.developersdex.com ***



 
Reply With Quote
 
kalle
Guest
Posts: n/a
 
      23rd Mar 2010


Thanks for your answer.

That was just what I want to do.

Regards
Rolf

*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
in EQUATION EDITION (WORD) change color(color of numbers and symbo =?Utf-8?B?ZnJhbmNpcyBpcyB0aGFua3MgdG8geW91IC4gLiAu Microsoft Word Document Management 1 29th Nov 2006 03:45 PM
change fill color of a range of cells based on color of a cell? =?Utf-8?B?RGFyTWVsTmVs?= Microsoft Excel Programming 0 2nd Mar 2006 06:35 PM
Bullet Font Color Changes When I Change Text Color--Can I Change it Back? J. Danniel Microsoft Powerpoint 2 17th Mar 2005 08:06 PM
Browse Forms Controls and change TextBox color based on cell color =?Utf-8?B?U3RlZmFuVw==?= Microsoft Excel Programming 0 21st Nov 2004 04:28 AM
change faceid masterphilch Microsoft Excel Programming 3 14th Oct 2004 10:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:40 PM.