PowerPoint macro to change font colour on all slide incl groups - text

I have over a lot of PowerPoint presentations each with many slides and want to change all blue font to black font in all slides, leaving font that is any other colour unchanged. A significant amount of font is in ‘groups’ so I am looking for the macro to change this font too.

The simplest solution to this issue is not programmatic. If the presentation was built correctly, the font would be colored with a theme color. Updating the theme with a new color would change all instances immediately, no programming required.
Short of that, you would have to loop through every character in every shape that has text on every slide, testing the font color and changing it when you find blue.
You can use my description as a starting point for some serious Googling to figure out how to create such a macro. Here's a page with lots of good PowerPoint VBA info and samples: Programming PowerPoint

Related

Inconsistent colors in Excel/PowerPoint/Word Charts

I have two scatter plots, representing the same things, but for two different scenarios. They were created in the same Excel workbook, on different sheets, and I have the same color schemes applied to them. However, the colors don't line up between the charts. I have 6 charts total, and 4 start with the dark color and the other 2 start with a lighter color.
Chart 1 - first color is very dark
Chart 2 - first color is lighter
I haven't been able to find anyone else who's run into the same problem. This issue occurs when I copy the charts into PowerPoint and Word as well. This is pretty annoying because I want to keep the colors consistent throughout my charts.
EDIT I can copy the chart with the colors I want and then just edit the data, so the charts are all consistent. Still not sure how they ended up different colors, though.
I've run into this issue in the past. I've looked around and found the following suggestions.
After copying the chart from Excel, when you're in either Powerpoint or Word, click on the downward arrow for "paste", then try to do any one of the following:
'paste special' then 'paste link'; or
'paste options' then 'keep source formatting'; or
'paste options' then paste as 'picture'.
The last one should definitely work, since you're pasting a static photo. That is, it will be uniform regardless of the program because it's based on the calibration setting of your monitor.

How to remove the background color from ActiveX option button?

I'm currently creating an IT support form, in excel, to be filled in and then on the press of a button it will save the data to another sheet in the document. My question is, how can I remove the background color from an ActiveX option button so it has the same color as my boxes? If this can't be done, is there anyway I can set it so that the background color of the option button is the same as Excel 2010's Accent 3 - 20% (the hex color code for it is #ebf1de). I understand that it uses MS access codes but don't know how I can convert hex codes to this or anything. Thanks

pasting excel chart in word changes the chart's font

I have charts in excel with the Arial font for the title and all axes.
When I copy & paste the charts/graphs into a word document, the font changes to Times New Roman.
Is there a way to set word up so this doesn't happen, it is a time waster to change all charts' fonts one by one.
I found a possible solution that worked for me. It basically says to check the font of the chart. In my case it said Calibri (body). The "body" part is what is causing the font change.
changing the font to a normal Calibri (or whichever font you want) stops the font from changing when copying charts from MS Excel to MS Word

Changing font style in excel from vb6?

i am currently coding a button to transfer all the data from a listview into an excel workbook so it can be printed as barcode labels. the way the barcode works is that it is a true type font. im running into the problem however through vb6 where i dont know how to format a range of cells to have a different font style so i can change certain cells to be able to show barcodes. ive gotten as far as
oSheet.range("D2:D10").Font
where D2:D10 is not the set range of cells just ones i was playing with. im not sure where to go after the font property here.
Have you tried:
oSheet.range("D2:D10").Font.Name = "BarCode Font Name"

Can I override light blue Selection color with another color?

I have a form that opens and highlights certain highly formatted rows.
The highlighting is done by selecting those rows, so they are colored light blue.
When the form closes, the rows are still selected, and that's good. The formatting beneath the selection isn't disturbed so if the user clicks anywhere on the worksheet, all the original formatting is intact.
My question is can I select rows and highlight them in a color besides standard blue (bright pink) so the user can see them more easily? I don't want to have to reformat the interior colors, and then try to figure out how to unformat them when the user is done noticing them.
sRowsToHighlight = "196:196,201:201,203:203"
m_wksPST.Range(sRowsToHighlight).Select ' Turns them blue, but I want a bright color
After my code is done, I would want selection to revert to the standard Excel color scheme.
Thanks!
I would be surprised if you could do that without manually coding it yourself. The selection colour is an application setting. You could change it in Excel, but that will change it for the whole of excel on that computer (i.e. any worksheets that get opened) and also it wouldn't help if your users are using this spreadsheet on a different computer. But here is a link anyway: http://en.kioskea.net/faq/8703-excel-changing-the-highlighting-color-of-selected-cells

Resources