Active font color Excel 2010 - excel

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.

Related

Change the colour and/or width of active cell in spreadsheet in Microsoft Excel in Mac

In Microsoft Excel(in mac), it becomes very difficult to see the active cell for large spreasheets,
It would be very handy if we can make the active cell with a contrast colour to the table, or increase the width of active cell.
How can we do this? Or atleast, is it possible to increase the font color or boldness of text inside the active cell?

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

Set theme color of Format cell color

In Office 2008, how may I set the theme color in conditional formatting using AppleScript?
tell format color of color scale criterion 1 of colorcellObject
set theme color to first accent theme color
end tell
This script through errors (set theme color object is not defined).
I have no experience with Applescript (using VBA in Windows myself), but I would suggest using the {[0-255],[0-255],[0-255]} codes for the RGB colors.
These can be hardcoded if you know the codes beforehand, possibly you could use a small section of your excel to apply the appropriate colors to and refer to those in your script.
For the script follow along the lines of this:
AppleScript: set Microsoft Excel cell's background color

Spreadsheet ML Text Color (Colour) Rendering

I am writing a tool which generates some Spreadsheet ML (XML) to create an Excel spreadsheet for my users.
I have defined a style as follows:
<Style ss:ID="GreenText">
<Font ss:FontName="Arial" ss:Size="9" ss:Color="#8CBE50" />
</Style>
This works to an extent, but when I open it in Excel the colour rendered for the text isn't the one I specified - it's a brighter version. I can use the same colour reference for a cell border and the colour is rendered correctly.
Can anyone shed any light on why the text colour isn't rendered correctly?
Thanks!
David is correct that Excel 2003 and previous versions of Excel are limited to a 56 color palette.
Excel 2007 added support for 24 bit colors as well as theme colors. Excel 2007 can write xls workbooks which contain this additional color information, and which Excel 2003 can read, but Excel 2003 will still be limited to the 56 color palette. Excel 2007 can load these workbooks and display the exact colors.
SpreadsheetGear for .NET supports the new 24 bit colors and theme colors, as well as the old palette indexed colors, just as Excel 2007 does. You can use SpreadsheetGear to create a workbook with 24 bit colors which will display correctly in Excel 2007, or modify the palette and they will display correctly in Excel 2007 and Excel 2003. Below is an example of both.
You can download a free trial here and try it yourself.
Disclaimer: I own SpreadsheetGear LLC
Here is the sample code:
// Create a new empty workbook with one worksheet.
IWorkbook workbook = Factory.GetWorkbook();
// Get the worksheet and change it's name to "Person".
IWorksheet worksheet = workbook.Worksheets[0];
worksheet.Name = "Colors";
// Put "Hello World!" into A1.
IRange a1 = worksheet.Cells["A1"];
a1.Value = "Hello World!";
a1.Font.Color = System.Drawing.Color.FromArgb(0x8C, 0xBE, 0x50);
// Save the workbook as xls (Excel 97-2003 / Biff8) with default palette.
//
// This workbook will display the exact color in Excel 2007 and
// SpreadsheetGear 2009, but will only display the closest available
// palette indexed color in Excel 2003.
workbook.SaveAs(#"C:\tmp\GreenDefaultPalette.xls", FileFormat.Excel8);
// Save as xlsx / Open XML which will also display the exact color.
workbook.SaveAs(#"C:\tmp\GreenDefaultPalette.xlsx", FileFormat.OpenXMLWorkbook);
// Now, modify the palette and save. This workbook will display the exact
// color in Excel 2003 as well as in SpreadsheetGear 2009 and Excel 2007.
//
// Note that modifying the palette will change the color of any cells which
// already reference this palette indexed color - so be careful if you are
// modifying pre-existing workbooks.
workbook.Colors[0] = a1.Font.Color;
workbook.SaveAs(#"C:\tmp\GreenModifiedPalette.xls", FileFormat.Excel8);
Excel's limited to a palette of 56 colors. It only stores color indexes rather than the actual RGB values. They do permit custom colors in the palette, but I don't know how to change them programmatically.
Edit:
I haven't used office xml documents but this might help (indexedColors tag for defining palette):
http://openxmldeveloper.org/forums/thread/309.aspx
Also there's a Workbook.Colors property for changing the palette from VBA.

How can a cell's background color be set other than the obvious Cell shading property?

I can't for the life of me figure out why certain cells are shaded in a spreadsheet template I downloaded. I confirmed that the cell's shading property is set to no color. The cell has a simple formula: =SUM(J8:K8).
If the background color is being set by code in another cell, I'm not sure how to find it. Searching for the cell name (ex: B7) doesn't come up with anything. Any suggestions what could be setting the background color?
Have you had a look at the Conditional Formating options?
It could be that there's a background colour set in there.
In Office 2007 it's on the Ribbon in the Styles section on the Home tab - your best bet is to go for the "Manage Rules..." option, and then check the rules for each worksheet.

Resources