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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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