{"id":1913,"date":"2022-08-07T10:23:49","date_gmt":"2022-08-07T07:23:49","guid":{"rendered":"https:\/\/www.addictivetips.com\/?p=283965https:\/\/www.addictivetips.com\/microsoft-office\/change-style-for-all-tables-microsoft-word\/"},"modified":"2022-08-07T10:23:49","modified_gmt":"2022-08-07T07:23:49","slug":"how-to-change-the-style-for-all-tables-in-microsoft-word","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1913-how-to-change-the-style-for-all-tables-in-microsoft-word\/","title":{"rendered":"How To Change The Style For All Tables In Microsoft Word"},"content":{"rendered":"<p>Microsoft Word lets you apply the formatting to large snippets of text enmasse. You can copy the formatting applied to one bit of text, and apply it to entire paragraphs and sections with just a few clicks. Unfortunately, the same doesn\u2019t hold true for tables. If you want to change the style for all tables in a particular document, you\u2019re going to have to select each one individually and change the style. The alternative is to use a macro to do it.<\/p>\n<h2>Find Table Style<\/h2>\n<p>Before you can create the macro, you need to find the name of table style that you want to apply. This is pretty easy. Open the Word document that you want to change the table styles for. Click inside a table and then go to the Design tab on the Table Tools tab.<\/p>\n<p>Hover the mouse cursor over the table style you want to apply to all tables, and a tool tip will tell you what it\u2019s called. Note down the name and you\u2019re ready to create the macro.<\/p>\n<p><span class=\"post-image\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-283989\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word.jpg\" alt=\"\" width=\"1200\" height=\"600\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word.jpg 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word-1.jpg 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word-2.jpg 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word-3.jpg 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/05\/how-to-change-the-style-for-all-tables-in-microsoft-word-4.jpg 680w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/span><\/p>\n<h2>Table Style Macro<\/h2>\n<p>Enable the Developer tab in Word by going to File&gt;Options&gt;Customize ribbon. Enable the Developer toolbar and then return to your document.<\/p>\n<p>On the Developer tab, and click Macros. Give it the following name;<\/p>\n<pre>ApplyTableStyle<\/pre>\n<p>Click create and enter the following in the code box however, you need to edit this line: tbl.Style = \u201cMedium Shading 2 \u2013 Accent 1\u201d. Replace the bit inside the quotes with the name name of the table style you copied in the previous step. Don\u2019t remove the quote marks from the code. Simply enter the name of the table style, and run it.<\/p>\n<pre>Sub ApplyTableStyle()\nDim tbl As Table\nFor Each tbl In ActiveDocument.Tables\ntbl.Style = \"Medium Shading 2 - Accent 1\"\nNext\nEnd Sub<\/pre>\n<p><span class=\"post-image\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-283991\" src=\"https:\/\/cloud.addictivetips.com\/wp-content\/uploads\/2018\/09\/table-style-name-1.jpg\" alt=\"\" width=\"1200\" height=\"600\"\/><\/span><\/p>\n<p>That\u2019s all you have to do. Once the macro runs, it will automatically change the style for all tables. If you ever need to use a different table style, you\u2019re going to need to remove this macro because it proactively changes the style of all tables to the one you specified in the macro.<\/p>\n<p>If you ever need to change which style the macro applies, you will need to edit the code and replace the name of the style you want to apply. The macro applies styles to all current and all new tables in the document. This would obviously be easier if Microsoft Word had a built-in option to do this. It seems like a odd shortcoming for the app.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Word lets you apply the formatting to large snippets of text enmasse. You can copy the formatting applied to one bit of text, and apply it to entire paragraphs and sections with just a few clicks. Unfortunately, the same doesn\u2019t hold true for tables. If you want to change the style for all tables &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[23],"tags":[36],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1913"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1913"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1913\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1914"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}