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
Related
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
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.
i have a problem with an userform on excel.
In the userform i have a textbox2 that value is a result of some combobox.
then i changed the format font of the textbox2 from the property and that's work when i have the results the textbox2 shows the correct font but if i copy it with CTRL+C and the try to paste on excel or outlook mail the font changes in calibri... why this happen? i also tryed with automatic copytoclipboard i'll paste the code.
Dim clipboard As MSForms.DataObject
Set clipboard = New MSForms.DataObject
clipboard.SetText Me.TextBox2.Text
clipboard.PutInClipboard
That's works, because if i press CTRL+V it paste the result in textbox2 anyway it changes the font format...
Thanks in advance!
PS: i prefer to find a solution that permit me to copy manually from the textbox2 keeping the font format, but if it's impossible a code solution will be fine too. thanks a lot!
You are confusing things.
A textbox on a userform has a Font property, which you can set/read manually or with code (see the answer by Benno).
But this font name is not part of the text that is entered into that textbox. The textbox only stores plain text, and this is all you get when copying from it.
Therefore, when you paste this into another document, it will use the default or current font of that document (usually Calibri for Office documents).
You can download Free Clipboard Viewer which shows the various formats in the clipboard after copying something. It is quite different when copying plain text (from a text editor or from the textbox) or formatted text (from a webpage or from Word).
So: you can't copy the font information from a textbox.
You can set the font of the Cells to the font of the TextBox (This should at least work for excel)
Range("A1").Font.Name = TextBox2.Font 'A1 is only an example
Also you can try to create a macro that runs this whenever the cells are changed (Workbook_Change) Look here for more information.
I am using a worksheet (Excel 2010) on monthly basis and want to use red colour instead of default black. I don't want to change Excel template as I only use red colour for the spreadsheet. At the moment every time I change cell value I need to change font colour again and again as default is black. I read all the tips online and couldn't find any help.
A strange thing is happening in the excel spreadsheet. I have the Data Bar (conditional formatting) applied on a column and I set a solid color for it, BUT after save the spreadsheet I close it and when I open it again the bars get gradient/gradual color!!!! Does anyone know why this is happening????
The first picture are the bars set with a solid blue color, I save and close the spreadsheet, then I open the spreadsheet and the bars are gradient/gradual color (second image)
I just found the problem. The file was saved as Excel 97-2003 and this is not compatible with it. I just saved as the newest Excel format to solve the problem.