>>Naomi
>>
>>I want to choose the color of a shape in form1 with a palete I created in form2
>>The palete has lots of buttons with different back colors
>>
>>I tried
>>
>>res4.&shapex.BackColor = this.BackColor
>>
>>But it results error
>
>Try res4..&shapex.BackColor = this.BackColor
res4.&shapex..BackColor = this.BackColor
But there is no need to use macro when it's not needed.
If it's not broken, fix it until it is.
My Blog