


Add Word borders using MacrosĪ reader asked me whether he could use Visual Basic for Applications in order to work with Borders.Ī complete walk through of VBA goes beyond the scope of this post, but here is a simple script that will allow you to automatically set a triple lined border in your document first section.ĪctiveDocument.Sections(1).Borders.OutsideLineStyle = wdLineStyleTriple That’s it, we just added a border to our word document. You can obviously set different border styles, including colors,l ine width, art, shadows and what not.By default, the borders are applied to the whole document, which means every page has the same border. Once you've selected all the border options you want to use in your document, click the OK button to apply the border.Clicking the down arrow on Apply to gives you the option to select the first page only, selected page, all pages but the first page, and other options. Make the desired changes to the border that is currently set for the document or page.In the Borders and Shading window (shown below), if not already selected, click the Page Border tab.In the Page Background group, click the Page Borders option.In Word 20, click the Design tab instead.

You can change the type of border in the Settings section, choosing from Box, Shadow, 3-D, or Custom.

Unlike adding borders to paragraphs, you can use the Art drop-down list to select an artistic treatment to use for your border.These controls are very similar to those used by Word to set up paragraph borders. Use the controls in the dialog box to specify how you want your border to appear.The Page Border tab of the Borders and Shading dialog box. Word displays the Page Border tab of the Borders and Shading dialog box. Click the Page Borders tool in the Page Background group.In Word 2013 and later versions, you'll need to display the Design tab of the ribbon. If you're using Word 2007 or Word 2010, make sure the Page Layout tab of the ribbon is displayed.If you are not going to apply the border to all the pages in your document, position the insertion point in the section that will use the borders.Not only can you add borders to your paragraphs, but you can place one on an entire page.
