Using .glow to glow text in textbox

gangnam

New Member
Joined
Jan 2, 2017
Messages
11
I'm trying to make a powerpoint from excel.
In the powerpoint there will be pictures automatically (this all is working).

On top of a picture I put a textbox with text.
For a better look I want the text glow so the contrast will be better.

I'm using next vba-code ... (in a subroutine)

Set myTextBox = oSld.Shapes.AddTextbox(msoTextOrientationHorizontal, _
Left:=hpos, Top:=vpos + HeightOud - 75, Width:=WidthOud, Height:=50)

With myTextBox.TextFrame.TextRange
.Text = Trim(Voornaam) & " " & Trim(Tuss) & " " & Trim(Achternaam) & Chr(10) & Trim(Id)
.Text = Application.Substitute(.Text, " ", " ")

With .Font
.Size = 12
.Name = "Silom"
.Color.RGB = RGB(255, 255, 255)

With .Glow
.Radius = 8
.Color = RGB(255, 0, 255)
End With
End With

.ParagraphFormat.Alignment = 1
End With



All seem to work fine ... but no glow ...
What do I do wrong ...?

Can someone help?

I'm using excel 2011 on a Mac (last update 14.7.7)

Thanks in advance
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I'm trying to make a powerpoint from excel.
In the powerpoint there will be pictures automatically (this all is working).

On top of a picture I put a textbox with text.
For a better look I want the text glow so the contrast will be better.

I'm using next vba-code ... (in a subroutine)

Set myTextBox = oSld.Shapes.AddTextbox(msoTextOrientationHorizontal, _
Left:=hpos, Top:=vpos + HeightOud - 75, Width:=WidthOud, Height:=50)

With myTextBox.TextFrame.TextRange
.Text = Trim(Voornaam) & " " & Trim(Tuss) & " " & Trim(Achternaam) & Chr(10) & Trim(Id)
.Text = Application.Substitute(.Text, " ", " ")

With .Font
.Size = 12
.Name = "Silom"
.Color.RGB = RGB(255, 255, 255)

With .Glow
.Radius = 8
.Color = RGB(255, 0, 255)
End With
End With

.ParagraphFormat.Alignment = 1
End With



All seem to work fine ... but no glow ...
What do I do wrong ...?

Can someone help?

I'm using excel 2011 on a Mac (last update 14.7.7)

Thanks in advance



I solved the problem written above.
Now I'm using windows machine and see ... it works ...
thread can be closed
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,449
Members
448,966
Latest member
DannyC96

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top