Range('A1').Interior.Color = RGB(255, 0, 0) Example 3: Set Cell A1 border color to red. Range('A1').Borders.Color = RGB(255, 0, 0) Excel VB color. The simplest way to apply color is using the VB color name, you don't have to remember which number represents which color, the the color for your choice is very limited. Microsoft Excel Fundamentals: Participant Guide 15 4. In the Home tab/Font group, click the Font Color down arrow. Click on White, Background 1. In the Home tab/Font group. Click the Fill Color down arrow. Click on Blue, Accent 1, Lighter 80%. Figure 24 Figure 25. On the Home tab, in the Font group, click the Fill Color button arrow to display the color palette. Click the Blue, Accent 5 color, the second color from the right in the first row of theme colors. In cells D2:D13, use data validation to display an in-cell drop-down list of values from the MedCodes named range.
Lesson 7: Formatting Cells
/en/excel2016/modifying-columns-rows-and-cells/content/
Introduction
All cell content uses the same formatting by default, which can make it difficult to read a workbook with a lot of information. Basic formatting can customize the look and feel of your workbook, allowing you to draw attention to specific sections and making your content easier to view and understand.
Optional: Download our practice workbook.
In the Tab Right Click menu in the Tab Color menu, you selected the Green, Accent 6, Lighter 80% color option. Add a footer that displays the page number in the center section. In the Design Ribbon Tab in the Header & Footer Elements Ribbon Group, you clicked the Page Number button. And if you are using Microsoft 2010 and 2007, a Format Shape dialog box will pop up as below screenshot shown. Please select Fill in the left bar. In the right side of the dialog box, keep the Solid fill option selected, specify a background color in the Color drop-down list as you need, then enter a transparent percentage into the Transparency box. And finally close the dialog box.
Watch the video below to learn more about formatting cells in Excel.
To change the font size:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font Size command, then select the desired font size. In our example, we will choose 24 to make the text larger.
- The text will change to the selected font size.
You can also use the Increase FontSize and Decrease FontSize commands or enter a custom font size using your keyboard.
To change the font:
By default, the font of each new workbook is set to Calibri. However, Excel provides many other fonts you can use to customize your cell text. In the example below, we'll format our title cell to help distinguish it from the rest of the worksheet.
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font command, then select the desired font. In our example, we'll choose Century Gothic.
- The text will change to the selected font.
When creating a workbook in the workplace, you'll want to select a font that is easy to read. Along with Calibri, standard reading fonts include Cambria, Times New Roman, and Arial.
To change the font color:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font Color command, then select the desired fontcolor. In our example, we'll choose Green.
- The text will change to the selected font color.
Select More Colors at the bottom of the menu to access additional color options. We've changed the font color to a bright pink.
To use the Bold, Italic, and Underline commands:
- Select the cell(s) you want to modify.
- Click the Bold (B), Italic (I), or Underline (U) command on the Home tab. In our example, we'll make the selected cells bold.
- The selected style will be applied to the text.
You can also press Ctrl+B on your keyboard to make selected text bold, Ctrl+I to apply italics, and Ctrl+U to apply an underline.
Cell borders and fill colors
Cell borders and fill colors allow you to create clear and defined boundaries for different sections of your worksheet. Below, we'll add cell borders and fill color to our header cells to help distinguish them from the rest of the worksheet.
To add a fill color:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Fill Color command, then select the fill color you want to use. In our example, we'll choose a dark gray.
- The selected fill color will appear in the selected cells. We've also changed the font color to white to make it more readable with this dark fill color.
To add a border:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Borders command, then select the borderstyle you want to use. In our example, we'll choose to display All Borders.
- The selected border style will appear.
You can draw borders and change the line style and color of borders with the Draw Borders tools at the bottom of the Borders drop-down menu.
Cell styles
Instead of formatting cells manually, you can use Excel's predesigned cell styles. Cell styles are a quick way to include professional formatting for different parts of your workbook, such as titles and headers.
To apply a cell style:
In our example, we'll apply a new cell style to our existing title and headercells.
- Select the cell(s) you want to modify.
- Click the Cell Styles command on the Home tab, then choose the desired style from the drop-down menu.
- The selected cell style will appear.
Applying a cell style will replace any existing cell formatting except for text alignment. You may not want to use cell styles if you've already added a lot of formatting to your workbook.
Text alignment
By default, any text entered into your worksheet will be aligned to the bottom-left of a cell, while any numbers will be aligned to the bottom-right. Changing the alignment of your cell content allows you to choose how the content is displayed in any cell, which can make your cell content easier to read.
Click the arrows in the slideshow below to learn more about the different text alignment options.
Left Align: Aligns content to the left border of the cell
Center Align: Aligns content an equal distance from the left and right borders of the cell
Right Align: Aligns content to the right border of the cell
Top Align: Aligns content to the top border of the cell
Middle Align: Aligns content an equal distance from the top and bottom borders of the cell
Bottom Align: Aligns content to the bottom border of the cell
To change horizontal text alignment:
In our example below, we'll modify the alignment of our title cell to create a more polished look and further distinguish it from the rest of the worksheet.
- Select the cell(s) you want to modify.
- Select one of the three horizontal alignment commands on the Home tab. In our example, we'll choose Center Align.
- The text will realign.
To change vertical text alignment:
- Select the cell(s) you want to modify.
- Select one of the three vertical alignment commands on the Home tab. In our example, we'll choose Middle Align.
- The text will realign.
You can apply both vertical and horizontal alignment settings to any cell.
Format Painter
If you want to copy formatting from one cell to another, you can use the Format Painter command on the Home tab. When you click the Format Painter, it will copy all of the formatting from the selected cell. You can then click and drag over any cells you want to paste the formatting to.
Watch the video below to learn two different ways to use the Format Painter.
Challenge!
- Open our practice workbook.
- Click the Challenge worksheet tab in the bottom-left of the workbook.
- Change the cell style in cells A2:H2 to Accent 3.
- Change the font size of row 1 to 36 and the font size for the rest of the rows to 18.
- Bold and underline the text in row 2.
- Change the font of row 1 to a font of your choice.
- Change the font of the rest of the rows to a different font of your choice.
- Change the font color of row 1 to a color of your choice.
- Select all of the text in the worksheet, and change the horizontal alignment to center align and the vertical alignment to middle align.
- When you're finished, your worksheet should look something like this:
/en/excel2016/understanding-number-formats/content/
Home > Articles > Home & Office Computing > Microsoft Applications
␡- Understanding Theme Colors
Like this article? We recommend
Like this article? We recommend
Understanding Theme Colors
When you use a formatting feature that involves a color palette, such as when you change the fill color of an object, the colors that appear depend on the colors that are currently loaded into the theme placeholders. Check out the palette in Figure 3, for example. This palette shows 10 theme colors, with lighter and darker tints/shades of the colors beneath. If you choose one of these theme colors for an object you are formatting, and then you change to a different theme, the color will change as prescribed by the new theme. In contrast, if you apply one of the colors in the Standard Colors section of the palette, that color is forever fixed until you manually change it, regardless of the theme. (The same goes if you choose More Colors and select from a dialog box; all those custom colors are fixed too.)
Figure 3: The colors for the currently selected theme appear on color palettes in Office applications.
A theme has 12 color placeholders, named for their functions: Text/Background Light 1 and Dark 1, Text/Background Light 2 and Dark 2, Accent 1 through Accent 6, Hyperlink, and Followed Hyperlink. (Remember the XML code for the colors back in Figure 1?) You might not always see all 12 of them, depending on which palette you are looking at. In Figure 3, for example, you only see 10. The two missing are the colors for followed and unfollowed hyperlinks. In other areas of some applications you might only see 8 of the placeholders, because sometimes Text/Background Dark 1 and Text/Background Light 1 are omitted. (That's because they are almost always black and white, respectively.)
You can apply different theme colors separately from applying the theme itself. That's handy because you can pick a theme that has the fonts and effects you want, and then customize it with the colors from some other theme. (You can change the fonts and effects separately from the main theme too, as you'll learn later in this article.) To choose different theme colors, do one of the following:
- In Word: On the Design tab, click Colors, and then choose a different set of colors. The colors you see on the menu that appears only show 8 of the theme's colors, as you can see in Figure 4.
- In Excel: On the Page Layout tab, click Colors, and then choose a different set of colors.
- In PowerPoint: On the Design tab, click the More button (the down arrow with the horizontal line over it) in the Variants group, and then on the menu that appears, point to Colors to open a submenu and choose the desired set of colors.
Figure 4: Choose different theme colors in Word from the Design tab.
Here's the non-intuitive thing about choosing the colors separately, though: the names of the color sets don't match up with the names of the themes. So, for example, if you really like the colors in the Ion theme, you can't get them by looking for Ion on the Colors menu. So, if you want to make sure you get the colors from a certain theme, you are better off starting with that theme and then customizing the Fonts and Effects manually as desired. It's much easier to duplicate the fonts and effects from another theme than it is to duplicate its colors.
Related Resources
- Book $19.99
Lighter 80 Fill Color Excel Spreadsheet
- eBook (Watermarked) $15.99
Optional: Download our practice workbook.
In the Tab Right Click menu in the Tab Color menu, you selected the Green, Accent 6, Lighter 80% color option. Add a footer that displays the page number in the center section. In the Design Ribbon Tab in the Header & Footer Elements Ribbon Group, you clicked the Page Number button. And if you are using Microsoft 2010 and 2007, a Format Shape dialog box will pop up as below screenshot shown. Please select Fill in the left bar. In the right side of the dialog box, keep the Solid fill option selected, specify a background color in the Color drop-down list as you need, then enter a transparent percentage into the Transparency box. And finally close the dialog box.
Watch the video below to learn more about formatting cells in Excel.
To change the font size:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font Size command, then select the desired font size. In our example, we will choose 24 to make the text larger.
- The text will change to the selected font size.
You can also use the Increase FontSize and Decrease FontSize commands or enter a custom font size using your keyboard.
To change the font:
By default, the font of each new workbook is set to Calibri. However, Excel provides many other fonts you can use to customize your cell text. In the example below, we'll format our title cell to help distinguish it from the rest of the worksheet.
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font command, then select the desired font. In our example, we'll choose Century Gothic.
- The text will change to the selected font.
When creating a workbook in the workplace, you'll want to select a font that is easy to read. Along with Calibri, standard reading fonts include Cambria, Times New Roman, and Arial.
To change the font color:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Font Color command, then select the desired fontcolor. In our example, we'll choose Green.
- The text will change to the selected font color.
Select More Colors at the bottom of the menu to access additional color options. We've changed the font color to a bright pink.
To use the Bold, Italic, and Underline commands:
- Select the cell(s) you want to modify.
- Click the Bold (B), Italic (I), or Underline (U) command on the Home tab. In our example, we'll make the selected cells bold.
- The selected style will be applied to the text.
You can also press Ctrl+B on your keyboard to make selected text bold, Ctrl+I to apply italics, and Ctrl+U to apply an underline.
Cell borders and fill colors
Cell borders and fill colors allow you to create clear and defined boundaries for different sections of your worksheet. Below, we'll add cell borders and fill color to our header cells to help distinguish them from the rest of the worksheet.
To add a fill color:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Fill Color command, then select the fill color you want to use. In our example, we'll choose a dark gray.
- The selected fill color will appear in the selected cells. We've also changed the font color to white to make it more readable with this dark fill color.
To add a border:
- Select the cell(s) you want to modify.
- On the Home tab, click the drop-down arrow next to the Borders command, then select the borderstyle you want to use. In our example, we'll choose to display All Borders.
- The selected border style will appear.
You can draw borders and change the line style and color of borders with the Draw Borders tools at the bottom of the Borders drop-down menu.
Cell styles
Instead of formatting cells manually, you can use Excel's predesigned cell styles. Cell styles are a quick way to include professional formatting for different parts of your workbook, such as titles and headers.
To apply a cell style:
In our example, we'll apply a new cell style to our existing title and headercells.
- Select the cell(s) you want to modify.
- Click the Cell Styles command on the Home tab, then choose the desired style from the drop-down menu.
- The selected cell style will appear.
Applying a cell style will replace any existing cell formatting except for text alignment. You may not want to use cell styles if you've already added a lot of formatting to your workbook.
Text alignment
By default, any text entered into your worksheet will be aligned to the bottom-left of a cell, while any numbers will be aligned to the bottom-right. Changing the alignment of your cell content allows you to choose how the content is displayed in any cell, which can make your cell content easier to read.
Click the arrows in the slideshow below to learn more about the different text alignment options.
Left Align: Aligns content to the left border of the cell
Center Align: Aligns content an equal distance from the left and right borders of the cell
Right Align: Aligns content to the right border of the cell
Top Align: Aligns content to the top border of the cell
Middle Align: Aligns content an equal distance from the top and bottom borders of the cell
Bottom Align: Aligns content to the bottom border of the cell
To change horizontal text alignment:
In our example below, we'll modify the alignment of our title cell to create a more polished look and further distinguish it from the rest of the worksheet.
- Select the cell(s) you want to modify.
- Select one of the three horizontal alignment commands on the Home tab. In our example, we'll choose Center Align.
- The text will realign.
To change vertical text alignment:
- Select the cell(s) you want to modify.
- Select one of the three vertical alignment commands on the Home tab. In our example, we'll choose Middle Align.
- The text will realign.
You can apply both vertical and horizontal alignment settings to any cell.
Format Painter
If you want to copy formatting from one cell to another, you can use the Format Painter command on the Home tab. When you click the Format Painter, it will copy all of the formatting from the selected cell. You can then click and drag over any cells you want to paste the formatting to.
Watch the video below to learn two different ways to use the Format Painter.
Challenge!
- Open our practice workbook.
- Click the Challenge worksheet tab in the bottom-left of the workbook.
- Change the cell style in cells A2:H2 to Accent 3.
- Change the font size of row 1 to 36 and the font size for the rest of the rows to 18.
- Bold and underline the text in row 2.
- Change the font of row 1 to a font of your choice.
- Change the font of the rest of the rows to a different font of your choice.
- Change the font color of row 1 to a color of your choice.
- Select all of the text in the worksheet, and change the horizontal alignment to center align and the vertical alignment to middle align.
- When you're finished, your worksheet should look something like this:
/en/excel2016/understanding-number-formats/content/
Home > Articles > Home & Office Computing > Microsoft Applications
␡- Understanding Theme Colors
Like this article? We recommend
Like this article? We recommend
Understanding Theme Colors
When you use a formatting feature that involves a color palette, such as when you change the fill color of an object, the colors that appear depend on the colors that are currently loaded into the theme placeholders. Check out the palette in Figure 3, for example. This palette shows 10 theme colors, with lighter and darker tints/shades of the colors beneath. If you choose one of these theme colors for an object you are formatting, and then you change to a different theme, the color will change as prescribed by the new theme. In contrast, if you apply one of the colors in the Standard Colors section of the palette, that color is forever fixed until you manually change it, regardless of the theme. (The same goes if you choose More Colors and select from a dialog box; all those custom colors are fixed too.)
Figure 3: The colors for the currently selected theme appear on color palettes in Office applications.
A theme has 12 color placeholders, named for their functions: Text/Background Light 1 and Dark 1, Text/Background Light 2 and Dark 2, Accent 1 through Accent 6, Hyperlink, and Followed Hyperlink. (Remember the XML code for the colors back in Figure 1?) You might not always see all 12 of them, depending on which palette you are looking at. In Figure 3, for example, you only see 10. The two missing are the colors for followed and unfollowed hyperlinks. In other areas of some applications you might only see 8 of the placeholders, because sometimes Text/Background Dark 1 and Text/Background Light 1 are omitted. (That's because they are almost always black and white, respectively.)
You can apply different theme colors separately from applying the theme itself. That's handy because you can pick a theme that has the fonts and effects you want, and then customize it with the colors from some other theme. (You can change the fonts and effects separately from the main theme too, as you'll learn later in this article.) To choose different theme colors, do one of the following:
- In Word: On the Design tab, click Colors, and then choose a different set of colors. The colors you see on the menu that appears only show 8 of the theme's colors, as you can see in Figure 4.
- In Excel: On the Page Layout tab, click Colors, and then choose a different set of colors.
- In PowerPoint: On the Design tab, click the More button (the down arrow with the horizontal line over it) in the Variants group, and then on the menu that appears, point to Colors to open a submenu and choose the desired set of colors.
Figure 4: Choose different theme colors in Word from the Design tab.
Here's the non-intuitive thing about choosing the colors separately, though: the names of the color sets don't match up with the names of the themes. So, for example, if you really like the colors in the Ion theme, you can't get them by looking for Ion on the Colors menu. So, if you want to make sure you get the colors from a certain theme, you are better off starting with that theme and then customizing the Fonts and Effects manually as desired. It's much easier to duplicate the fonts and effects from another theme than it is to duplicate its colors.
Related Resources
- Book $19.99
Lighter 80 Fill Color Excel Spreadsheet
- eBook (Watermarked) $15.99
Lighter 80 Fill Color Excel Formula
- Book $19.99