repairman615
Well-known Member
- Joined
- Dec 21, 2009
- Messages
- 1,885
Hello,
I have a textbox placed in the sheet from the insert menu.
It is possible to set the transparency of the text manually...right click>format text effect>fill>transparency.
Using vba, how could this be accomplished?
Any insight is greatly appreciated.
<font face=Courier New> <SPAN style="color:#00007F">With</SPAN> wSht1.Shapes("TextBox " & HroW)<br> .TextFrame.Characters.Text = Ans<br> .Fill.ForeColor.RGB = RGB(170, 170, 170)<br> .TextFrame.Characters.Font.Color = RGB(200, 200, 200)<br> <br> <SPAN style="color:#007F00">'.TextEffect.Transparency = 0.1 ''''How To Set Transparency of Text??</SPAN><br> <br> .Top = Rowh * HroW - Rowh<br> .Left = 0 <SPAN style="color:#007F00">'Colw * (144 / 192)</SPAN><br> .Height = Rowh<br> .Width = Colw * (144 / 192) * 14<br> .Fill.Transparency = 0.9<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN></FONT>
I have a textbox placed in the sheet from the insert menu.
It is possible to set the transparency of the text manually...right click>format text effect>fill>transparency.
Using vba, how could this be accomplished?
Any insight is greatly appreciated.
<font face=Courier New> <SPAN style="color:#00007F">With</SPAN> wSht1.Shapes("TextBox " & HroW)<br> .TextFrame.Characters.Text = Ans<br> .Fill.ForeColor.RGB = RGB(170, 170, 170)<br> .TextFrame.Characters.Font.Color = RGB(200, 200, 200)<br> <br> <SPAN style="color:#007F00">'.TextEffect.Transparency = 0.1 ''''How To Set Transparency of Text??</SPAN><br> <br> .Top = Rowh * HroW - Rowh<br> .Left = 0 <SPAN style="color:#007F00">'Colw * (144 / 192)</SPAN><br> .Height = Rowh<br> .Width = Colw * (144 / 192) * 14<br> .Fill.Transparency = 0.9<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN></FONT>