<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Hidden Archives - Excel Zoom</title>
	<atom:link href="https://excelzoom.com/tag/hidden/feed/" rel="self" type="application/rss+xml" />
	<link>https://excelzoom.com/tag/hidden/</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Fri, 13 Feb 2015 22:03:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>

<image>
	<url>https://excelzoom.com/wp-content/uploads/2022/04/favicon.ico</url>
	<title>Hidden Archives - Excel Zoom</title>
	<link>https://excelzoom.com/tag/hidden/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hide/Unhide Columns</title>
		<link>https://excelzoom.com/hideunhide-columns/</link>
					<comments>https://excelzoom.com/hideunhide-columns/#comments</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Sat, 25 Apr 2009 13:18:11 +0000</pubDate>
				<category><![CDATA[Macros]]></category>
		<category><![CDATA[Formats]]></category>
		<category><![CDATA[Hidden]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=54</guid>

					<description><![CDATA[<p>On occasion, you might find yourself creating a spreadsheet that has multiple columns all set up in a consistent format (i.e. quarterly sales figures for the past 5 years). As time goes on, you may add/remove data to the spreadsheet as needed. This may result in some columns not being used (i.e. in April only [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/hideunhide-columns/">Hide/Unhide Columns</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>On occasion, you might find yourself creating a spreadsheet that has multiple columns all set up in a consistent format (i.e. quarterly sales figures for the past 5 years).  As time goes on, you may add/remove data to the spreadsheet as needed.  This may result in some columns not being used (i.e. in April only the first quarter&#8217;s information will be filled out for the current year, leaving the second, third and fourth quarters blank).</p>
<p><img fetchpriority="high" decoding="async" src="https://excelzoom.com/images/hide_columns_example.jpg" alt="Excel Hide Column Macro" width="500" height="127" /></p>
<p>Using the quarterly sales example above, assume that you&#8217;ve taken the time to set up your spreadsheet with placeholder columns for the remainder of the year.  When printing the information, you don&#8217;t want to just delete the columns, only having to recreate them in the future, and you also don&#8217;t want to have to manually hide/unhide them either.</p>
<p>You can use a macro to toggle between hiding and unhiding these empty columns fairly easily.  The first bit of code will determine if the total in row 8 for columns B through M is 0.  If it is, it will hide the column, otherwise it will make sure the column is not hidden.  The second bit of code will select columns B through M and make sure they all are not hidden, so that you can toggle between hiding the unused columns, and showing all the columns.<br />
<br />
To use this in your own spreadsheet, you may need to change a few things. 1) Change the Range reference (i.e. &#8220;B8:M8&#8221;) to whatever range you want evaluated. 2) Change &#8220;Columns&#8221; in Rng = Selection.Columns.Count to &#8220;Rows&#8221; if the range you are evaluating is a range of rows not columns. 3) If the criteria is something other than &#8220;0&#8221;, change the &#8220;0&#8221;  in If ActiveCell = 0 to whatever that criteria happens to be.  And finally 4) the two lines that say ActiveCell.Offset(0, 1).Select simply moves the selected cell down 0 cells and to the right one cell.  If you&#8217;re evaluating down a range of rows, change the 0 to a 1 and the 1 to a 0 so that it moves the selected cell down 1 cell and to the right 0 cells.  (Note you can move up a cell by inserting a -1 as the first number and to the left by inserting a -1 as the second number).</p>
<p>Need help? Use our <a href="https://excelzoom.com/?p=7">nifty guide</a> to help figure out how to install and use your macros.</p>
<p><strong>Hide Unused Columns:</strong><br />
<br />
<strong>Unhide all Columns:</strong><br />
</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/hideunhide-columns/">Hide/Unhide Columns</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/hideunhide-columns/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Delete Hidden Rows and Columns</title>
		<link>https://excelzoom.com/delete-hidden-rows-columns/</link>
					<comments>https://excelzoom.com/delete-hidden-rows-columns/#respond</comments>
		
		<dc:creator><![CDATA[Mark]]></dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:44:28 +0000</pubDate>
				<category><![CDATA[Macros]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Hidden]]></category>
		<guid isPermaLink="false">http://excelzoom.com/?p=45</guid>

					<description><![CDATA[<p>Sometimes we hide certain rows or columns because we don&#8217;t want the data to print, or just to get it out of the way. Other times though we simply don&#8217;t want to share the data in a hidden row or column. Assuming that the data in visible cells isn&#8217;t dependent on the data in hidden [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/delete-hidden-rows-columns/">Delete Hidden Rows and Columns</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes we hide certain rows or columns because we don&#8217;t want the data to print, or just to get it out of the way. Other times though we simply don&#8217;t want to share the data in a hidden row or column. Assuming that the data in visible cells isn&#8217;t dependent on the data in hidden cells (i.e. if a formula references a hidden cell), we can use the macro below to automatically delete any hidden rows and columns in the active worksheet.</p>
<p>If you only want the hidden rows to be deleted, remove the three lines starting with For Ip = 256 through Next. To only delete the hidden columns, remove the next three lines starting with For lp = 65536 through Next.<br />
<br />
Copy all of the code below. Paste it into your workbook&#8217;s Visual Basic editor, either under a Microsoft Excel Object or Module.</p>
<p>Need help? Use our <a href="https://excelzoom.com/?p=7">nifty guide</a> to help figure out how to install and use your macros.<br />
</p>
<p>The post <a rel="nofollow" href="https://excelzoom.com/delete-hidden-rows-columns/">Delete Hidden Rows and Columns</a> appeared first on <a rel="nofollow" href="https://excelzoom.com">Excel Zoom</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://excelzoom.com/delete-hidden-rows-columns/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
