{"id":11296,"date":"2019-11-25T16:52:54","date_gmt":"2019-11-25T15:52:54","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=11296"},"modified":"2024-04-13T12:59:57","modified_gmt":"2024-04-13T10:59:57","slug":"unhide-all-hidden-rows-and-columns-using-macros-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/unhide-all-hidden-rows-and-columns-using-macros-in-excel\/","title":{"rendered":"Unhide All Hidden Rows and Columns Using Macros In Excel"},"content":{"rendered":"<p>We usually hide either rows or columns if we use them as helper cells to calculate something. If we lose track of which ones we have hidden, we can quickly <strong>unhide all hidden rows and columns<\/strong> using Excel <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-macros-examples\/\" target=\"_blank\" rel=\"noopener\" title=\"Macros\" data-wpil-keyword-link=\"linked\">Macros<\/a>!<\/p>\n<p>Make sure your Excel has the Developer Tab enabled following\u00a0<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-create-your-first-macro-button-in-excel-beginners-tutorial\/\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial<\/a>.<\/p>\n<p>I explain how you can do this below step by step!<\/p>\n<p><em><strong>What does it do?<\/strong><\/em><\/p>\n<p>Shows all hidden rows and columns<\/p>\n<p><em><strong>Copy Source Code:<\/strong><\/em><\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n\r\nSub UnhideAllHiddenRowsAndColumns()\r\n\r\n&lt;a href=&quot;https:\/\/www.myexcelonline.com\/meo-staging\/blog\/unhide-rows-columns\/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Unhide all hidden rows and&lt;\/a&gt; columns\r\nColumns.EntireColumn.Hidden = False\r\nRows.EntireRow.Hidden = False\r\n\r\nEnd Sub\r\n\r\n<\/pre>\n<p><em><strong>Final Result:\u00a0<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11958\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"1160\" height=\"572\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05.jpg 1160w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-300x148.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-1024x505.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-768x379.jpg 768w\" sizes=\"(max-width: 1160px) 100vw, 1160px\" \/><\/p>\n<p><em><strong>Exercise Workbook:<\/strong><\/em><\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/kXpfjKoI1gg?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"width: 0px;overflow: hidden;line-height: 0\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns.xlsm\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns.xlsm\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Unhide-All-Hidden-Rows-and-Columns.xlsm<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<hr \/>\n<p>This is our original table:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11954\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-01.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"865\" height=\"233\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-01.jpg 865w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-01-300x81.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-01-768x207.jpg 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/p>\n<p>Now let us <strong>hide 2 rows and 1 column<\/strong>:<img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11955\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-02.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"705\" height=\"157\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-02.jpg 705w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-02-300x67.jpg 300w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 1:<\/strong><\/span>\u00a0Go to\u00a0<em><strong>Developer &gt; Code &gt; Visual Basic<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10906 aligncenter\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/How-to-Insert-Multiple-Columns-01.jpg\" alt=\"\" width=\"816\" height=\"139\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/How-to-Insert-Multiple-Columns-01.jpg 816w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/How-to-Insert-Multiple-Columns-01-300x51.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/How-to-Insert-Multiple-Columns-01-768x131.jpg 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 2:<\/strong><\/span>\u00a0Paste in your code and\u00a0<strong>Select Save<\/strong>. Close the window afterwards.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11956\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"1641\" height=\"356\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03.jpg 1641w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03-300x65.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03-1024x222.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03-768x167.jpg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-03-1536x333.jpg 1536w\" sizes=\"(max-width: 1641px) 100vw, 1641px\" \/><\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 3:\u00a0<\/strong><\/span>Let us test it out!<\/p>\n<p>Open the sheet containing the data. Go to\u00a0<em><strong>Developer &gt; Code &gt; Macros<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11245\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unmerge-Cells-02.jpg\" alt=\"\" width=\"854\" height=\"142\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unmerge-Cells-02.jpg 854w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unmerge-Cells-02-300x50.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unmerge-Cells-02-768x128.jpg 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p>Make sure your <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-macros-examples\/\" target=\"_blank\" rel=\"noopener\" title=\"macro\" data-wpil-keyword-link=\"linked\">macro<\/a> is selected. Click <strong>Run<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11957\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-04.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"613\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-04.jpg 613w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-04-300x282.jpg 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<p>With just one click, <strong>all of the hidden <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/excel-row-height\/\" target=\"_blank\" rel=\"noopener\">rows and columns<\/a> are now shown<\/strong>!<span style=\"color: #0000ff\"><strong><img loading=\"lazy\" decoding=\"async\" title=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" class=\"aligncenter size-full wp-image-11958\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05.jpg\" alt=\"Unhide All Hidden Rows and Columns Using Macros In Excel\" width=\"1160\" height=\"572\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05.jpg 1160w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-300x148.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-1024x505.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/03\/Unhide-All-Hidden-Rows-and-Columns-05-768x379.jpg 768w\" sizes=\"(max-width: 1160px) 100vw, 1160px\" \/><\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff\"><strong>How to Unhide All Hidden Rows and Columns Using Macros In Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-66.html\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13266\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/10\/101-Macros-Book.png\" alt=\"101 Macros Book\" width=\"1200\" height=\"628\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/10\/101-Macros-Book.png 1200w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/10\/101-Macros-Book-300x157.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/10\/101-Macros-Book-1024x536.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/10\/101-Macros-Book-768x402.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We usually hide either rows or columns if we use them as helper cells to calculate something. If we lose track of which ones we have hidden, we can quickly unhide all hidden rows and columns using Excel Macros! Make sure your Excel has the Developer Tab enabled following\u00a0this tutorial. I explain how you can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":18092,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"Unhide All Hidden Rows and Columns Using Macros In Excel","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[56,646],"tags":[106],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/11296"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=11296"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/11296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/18092"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=11296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=11296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=11296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}