THE FORMAT PAINTER
When working in Excel there are times when you may wish to copy the formatting of a cell or range of cells to another location without copying the content of the cell(s). To make this simple, Excel has what is known as the Format Painter. This can only be found on the Home tab, is represented on the toolbar by a paintbrush and is immediately to the left of the Undo icon. To be honest this is much the same as using the Paste special and selecting Formats as the option. The big advantage is that it’s much easier and quicker to access and the copy and paste range do not have to be of the same shape and size. So you can get a feel for this feature try these two simple exercises.
1. Type any number in cells A1:A5.
2. Type any numbers in cells B1:B10.
3. Now highlight (select) cells A1:A5 and click the $ (dollar icon) on the Formatting toolbar.
4. Now click the B (Bold) and I (Italic) icons, also on the Formatting toolbar.
5. Click the Format Painter icon and then click cell B1.
You should now have painted the formatting we applied to cells A1:A5 to B1:B5. You would also have noticed there was a paintbrush symbol next to our mouse pointer, which disappeared once we had selected cell B1.
You can see a single click will apply the Format Painter once, while a double click will keep the Format Painter active until we either click the icon again or push Esc.
We mentioned above that the copy and paste range do not need to be of the same shape and size when using the Format Painter, to see this follow these steps.
1. Type any numbers in cells C1:G1.
2. Select cell A1 and then single click the Format Painter.
3. Now select cell C1 and with the left mouse button still held down drag to cell G1 and then release.
You should now have the same formatting applied to cells C1:G1 as you have in A1.
So as you can see the copy and paste range does not need to be of the same shape and size, unlike the Paste special.
Go back to:
See also:
See also: Index to Excel VBA Code and Index to Excel Freebies and Lesson 1 - Excel Fundamentals and Index to how to… providing a range of solutions and Index to new resources and reference sheets
Click here to visit our Free 24/7 Excel/VBA Help Forum where there are thousands of posts you can get information from, or you can join the Forum and post your own questions.
Microsoft ® and Microsoft Excel ® are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft