Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changin color of a shape

Status
Not open for further replies.

NGordian

Programmer
Apr 25, 2005
10
0
0
DK
Hello I've ran into a little problem concerning changing color on a shape.
I'm developing a windows application using vb.net.

What happens is that I change the formula of the FillBkgnd Cell but the color of the shape doesn't change, though the formula does change.

My code looks something like this:

shape.CellsU("FillBkgnd").Formula = "RGB(255;255;255)"

Please help
 
Visio seems to have a complicated object library. Try using the Macro recorder (Tools menu) and see how Visio records it. Then edit to suit.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top