<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Quickly Hiding Columns</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jeff</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/#comment-25545</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 13 Jul 2007 06:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=771#comment-25545</guid>
		<description>&lt;p&gt;Here&#039;s a quicker range.&lt;/p&gt;
&lt;p&gt;Highlight and define a NAME that covers the rows or columns that you want to hide/show.&lt;/p&gt;
&lt;p&gt;Add a button (in my case I added a simple toggle checkbox), and use it to show/hide the rows or columns like this:&lt;/p&gt;
&lt;p&gt;Private Sub chkToggle_Click()&lt;br&gt;
   Range(&quot;MYDEFINEDRANGE&quot;).EntireColumn.Hidden = Not chkToggle.Value&lt;br&gt;
End Sub&lt;/p&gt;
&lt;p&gt;Sweet!&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a quicker range.</p>
<p>Highlight and define a NAME that covers the rows or columns that you want to hide/show.</p>
<p>Add a button (in my case I added a simple toggle checkbox), and use it to show/hide the rows or columns like this:</p>
<p>Private Sub chkToggle_Click()<br />
   Range(&#8220;MYDEFINEDRANGE&#8221;).EntireColumn.Hidden = Not chkToggle.Value<br />
End Sub</p>
<p>Sweet!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark O</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/#comment-2312</link>
		<dc:creator>Mark O</dc:creator>
		<pubDate>Wed, 20 Oct 2004 04:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=771#comment-2312</guid>
		<description>&lt;p&gt;Found a way on my own. Here is some sample code:&lt;/p&gt;
&lt;p&gt;With ActiveSheet&lt;br&gt;
        .Unprotect&lt;br&gt;
        HideRow = 0&lt;br&gt;
        Do&lt;br&gt;
            HideRow = HideRow + 1&lt;br&gt;
        Loop Until Range(&quot;D7?).Offset(HideRow, 0) = &quot;&quot;&lt;br&gt;
        .Range(Rows(7).Offset(HideRow), Rows(38)).EntireRow.Hidden = True&lt;br&gt;
        With .PageSetup&lt;br&gt;
            .PrintArea = &quot;$B$2:$U$45?&lt;br&gt;
            .Zoom = False&lt;br&gt;
            .FitToPagesTall = 1&lt;br&gt;
            .FitToPagesWide = 1&lt;br&gt;
            .BlackAndWhite = True&lt;br&gt;
            .Orientation = xlLandscape&lt;br&gt;
            .CenterHorizontally = True&lt;br&gt;
            .LeftMargin = Application.InchesToPoints(0.5)&lt;br&gt;
            .RightMargin = Application.InchesToPoints(0.5)&lt;br&gt;
            .TopMargin = Application.InchesToPoints(0.5)&lt;br&gt;
            .BottomMargin = Application.InchesToPoints(0.5)&lt;br&gt;
        End With&lt;br&gt;
        .Protect&lt;br&gt;
        .PrintOut&lt;br&gt;
        .Unprotect&lt;br&gt;
        .Range(Rows(7).Offset(HideRow), Rows(38)).EntireRow.Hidden = False&lt;br&gt;
        ActiveWindow.Panes(2).ScrollRow = 39&lt;br&gt;
        .Protect&lt;br&gt;
    End With&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Found a way on my own. Here is some sample code:</p>
<p>With ActiveSheet<br />
        .Unprotect<br />
        HideRow = 0<br />
        Do<br />
            HideRow = HideRow + 1<br />
        Loop Until Range(&#8220;D7?).Offset(HideRow, 0) = &#8220;&#8221;<br />
        .Range(Rows(7).Offset(HideRow), Rows(38)).EntireRow.Hidden = True<br />
        With .PageSetup<br />
            .PrintArea = &#8220;$B$2:$U$45?<br />
            .Zoom = False<br />
            .FitToPagesTall = 1<br />
            .FitToPagesWide = 1<br />
            .BlackAndWhite = True<br />
            .Orientation = xlLandscape<br />
            .CenterHorizontally = True<br />
            .LeftMargin = Application.InchesToPoints(0.5)<br />
            .RightMargin = Application.InchesToPoints(0.5)<br />
            .TopMargin = Application.InchesToPoints(0.5)<br />
            .BottomMargin = Application.InchesToPoints(0.5)<br />
        End With<br />
        .Protect<br />
        .PrintOut<br />
        .Unprotect<br />
        .Range(Rows(7).Offset(HideRow), Rows(38)).EntireRow.Hidden = False<br />
        ActiveWindow.Panes(2).ScrollRow = 39<br />
        .Protect<br />
    End With</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark O</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/#comment-2311</link>
		<dc:creator>Mark O</dc:creator>
		<pubDate>Mon, 18 Oct 2004 03:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=771#comment-2311</guid>
		<description>&lt;p&gt;Is there a way to make a form button (Activex Control Command Button perhaps?) that quickly hides rows, prints a selected area, and then unhides the rows? More simply, can you create/reference/enable custom views from VBA?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is there a way to make a form button (Activex Control Command Button perhaps?) that quickly hides rows, prints a selected area, and then unhides the rows? More simply, can you create/reference/enable custom views from VBA?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/#comment-2310</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Fri, 01 Oct 2004 04:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=771#comment-2310</guid>
		<description>&lt;p&gt;That is horrible!  I think I better post about it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That is horrible!  I think I better post about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/09/21/quickly-hiding-columns/#comment-2309</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Tue, 21 Sep 2004 22:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=771#comment-2309</guid>
		<description>&lt;p&gt;I used to like Custom Views, until I discovered that a custom view of a filtered list does not work very well with frozen panes.&lt;/p&gt;
&lt;p&gt;To see what I mean:&lt;/p&gt;
&lt;p&gt;My Column Header&lt;br&gt;
a&lt;br&gt;
b&lt;br&gt;
c&lt;br&gt;
d&lt;/p&gt;
&lt;p&gt;freeze panes on &quot;My Column Header&quot; 1:1&lt;br&gt;
filter on values = b&lt;br&gt;
save as custom view&lt;br&gt;
unfilter&lt;br&gt;
apply that custom view&lt;br&gt;
unfilter&lt;/p&gt;
&lt;p&gt;now 1:2 are frozen - that&#039;s annoying.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I used to like Custom Views, until I discovered that a custom view of a filtered list does not work very well with frozen panes.</p>
<p>To see what I mean:</p>
<p>My Column Header<br />
a<br />
b<br />
c<br />
d</p>
<p>freeze panes on &#8220;My Column Header&#8221; 1:1<br />
filter on values = b<br />
save as custom view<br />
unfilter<br />
apply that custom view<br />
unfilter</p>
<p>now 1:2 are frozen &#8211; that&#8217;s annoying.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

