Excel to PPT - Font/Color issue

psrs0810

Well-known Member
Joined
Apr 14, 2009
Messages
1,109
I have a PowerPoint where the background is blue (I cannot change). In order to make the information stand out, I have the excel information in white - however, I can't see if unless I color the excel background.

How do I keep the excel font white so that it shows in the PPT?
is there a way, when I paste the link to edit the background to be transparent?

Thanks
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You could use the PowerPoint event code below; run the initialise routine to enable it and the release code to stop it.
Clicking anything on the active slide (when editing, not during a slide show) will change font colour for all shape text on that slide. Therefore, you can use black text within Excel.
This code can be tweaked in various ways and there are many other events available as well.
If the background is an editable shape, it can have its transparency changed, manually or by code.


Code:
' standard module
Public objNewSlide As New Class2

Sub Initialise()
Set objNewSlide.PPTEvent = Application
End Sub

Sub Release()
Set objNewSlide.PPTEvent = Nothing
End Sub

*********************************************

' class module named Class2


Public WithEvents PPTEvent As Application

Private Sub PPTEvent_WindowSelectionChange(ByVal Sel As Selection)
Dim s As Slide, i%, t As TextRange
Set s = Application.ActiveWindow.View.Slide
On Error Resume Next
For i = 1 To s.Shapes.Count
    Set t = s.Shapes(i).TextFrame.TextRange
    t.Font.Color.RGB = RGB(250, 250, 250)
Next
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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