<?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/"
	>

<channel>
	<title>Strick&#039;s Ramblings &#187; basic</title>
	<atom:link href="http://www.strickstuff.com/wp/tag/basic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strickstuff.com/wp</link>
	<description>My Ramblings &#38; Random Thoughts</description>
	<lastBuildDate>Mon, 02 Jan 2012 13:52:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I will not throw paper airplanes in class!!!</title>
		<link>http://www.strickstuff.com/wp/2009/10/13/i-will-not-throw-paper-airplanes-in-class/</link>
		<comments>http://www.strickstuff.com/wp/2009/10/13/i-will-not-throw-paper-airplanes-in-class/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 18:48:20 +0000</pubDate>
		<dc:creator>James Strickland</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[airplanes]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[cartoon]]></category>
		<category><![CDATA[macro]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[teacher]]></category>
		<category><![CDATA[vb]]></category>
		<category><![CDATA[visual]]></category>

		<guid isPermaLink="false">http://www.strickstuff.com/wp/?p=173</guid>
		<description><![CDATA[Stumbled upon this cartoon: Thought this was hilarious!!!  Of course, since I'm not much of a C++ programmer, I would do something like this: Sub airplanes&#40;&#41; &#160; Range&#40;&#34;A1&#34;&#41;.Value = &#34;I will not throw paper airplanes in class&#34; Range&#40;&#34;A1&#34;&#41;.Copy Range&#40;&#34;A2:A500&#34;&#41;.PasteSpecial &#160; End Sub throw this in a spreadsheet then email it to the teacher!!! Ok, so [...]]]></description>
			<content:encoded><![CDATA[<p>Stumbled upon this cartoon:<br />
<img src="http://www.strickstuff.com/images/500_times.jpg" alt="Paper Airplanes" width="450" /></p>
<p>Thought this was hilarious!!!  Of course, since I'm not much of a C++ programmer, I would do something like this:</p>
<pre class="vb"><span style="color: #b1b100;">Sub</span> airplanes<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Value</span> = <span style="color: #ff0000;">&quot;I will not throw paper airplanes in class&quot;</span>
Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Copy</span>
Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A2:A500&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">PasteSpecial</span>
&nbsp;
<span style="color: #b1b100;">End</span> <span style="color: #b1b100;">Sub</span></pre>
<p>throw this in a spreadsheet then email it to the teacher!!! Ok, so this method wouldn't be as cool as the pic, but it would work and save time! Wonder how you could do this in BASH...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strickstuff.com/wp/2009/10/13/i-will-not-throw-paper-airplanes-in-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AutoFormat a spreadsheet</title>
		<link>http://www.strickstuff.com/wp/2008/06/17/autoformat-a-spreadsheet/</link>
		<comments>http://www.strickstuff.com/wp/2008/06/17/autoformat-a-spreadsheet/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 04:42:29 +0000</pubDate>
		<dc:creator>James Strickland</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[vb]]></category>
		<category><![CDATA[visual]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.strickstuff.com/wp/?p=111</guid>
		<description><![CDATA[Trying to AutoFormat an Excel Spreadsheet... Sub OLVIMS_REPORT&#40;&#41; '====================================================== ' CLOSED 868 REPORT AUTO FORMAT SCRIPT/MACRO '====================================================== &#160; Columns&#40;&#34;A:B&#34;&#41;.Select Selection.Delete Shift:=xlToLeft Range&#40;&#34;H1&#34;&#41;.Select Cells.Replace What:=&#34;END OF REPORT&#34;, Replacement:=&#34;&#34;, LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False Range&#40;&#34;A2&#34;&#41;.Select Columns&#40;&#34;H:H&#34;&#41;.EntireColumn.AutoFit Columns&#40;&#34;I:I&#34;&#41;.EntireColumn.AutoFit Columns&#40;&#34;C:C&#34;&#41;.EntireColumn.AutoFit Columns&#40;&#34;B:B&#34;&#41;.EntireColumn.AutoFit Range&#40;&#34;A2:I2&#34;&#41;.Select Selection.Cut Destination:=Range&#40;&#34;H1:P1&#34;&#41; Range&#40;&#34;A4:I4&#34;&#41;.Select Selection.Cut Destination:=Range&#40;&#34;H3:P3&#34;&#41; ' the rest was cut out ' ' Delete Blank [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to AutoFormat an Excel Spreadsheet...</p>
<pre class="vb"><span style="color: #b1b100;">Sub</span> OLVIMS_REPORT<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #808080;">'======================================================</span>
<span style="color: #808080;">' CLOSED 868 REPORT AUTO FORMAT SCRIPT/MACRO</span>
<span style="color: #808080;">'======================================================</span>
&nbsp;
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A:B&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Selection.<span style="color: #66cc66;">Delete</span> Shift:=xlToLeft
    Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;H1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Cells.<span style="color: #66cc66;">Replace</span> What:=<span style="color: #ff0000;">&quot;END OF REPORT&quot;</span>, Replacement:=<span style="color: #ff0000;">&quot;&quot;</span>, LookAt:=xlPart, _
        SearchOrder:=xlByRows, MatchCase:=<span style="color: #b1b100;">False</span>, SearchFormat:=<span style="color: #b1b100;">False</span>, _
        ReplaceFormat:=<span style="color: #b1b100;">False</span>
    Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A2&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;H:H&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireColumn</span>.<span style="color: #66cc66;">AutoFit</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;I:I&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireColumn</span>.<span style="color: #66cc66;">AutoFit</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;C:C&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireColumn</span>.<span style="color: #66cc66;">AutoFit</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;B:B&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireColumn</span>.<span style="color: #66cc66;">AutoFit</span>
    Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A2:I2&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Selection.<span style="color: #66cc66;">Cut</span> Destination:=Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;H1:P1&quot;</span><span style="color: #66cc66;">&#41;</span>
    Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A4:I4&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Selection.<span style="color: #66cc66;">Cut</span> Destination:=Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;H3:P3&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #808080;">' the rest was cut out</span>
    <span style="color: #808080;">'</span>
    <span style="color: #808080;">' Delete Blank Rows Macro</span>
    <span style="color: #808080;">'</span>
    <span style="color: #b1b100;">On</span> <span style="color: #b1b100;">Error</span> <span style="color: #b1b100;">Resume</span> <span style="color: #b1b100;">Next</span>
&nbsp;
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;I:I&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">SpecialCells</span><span style="color: #66cc66;">&#40;</span>xlCellTypeBlanks<span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireRow</span>.<span style="color: #66cc66;">Delete</span>
&nbsp;
    <span style="color: #808080;">'</span>
    <span style="color: #808080;">' auto_width Macro</span>
    <span style="color: #808080;">'</span>
    <span style="color: #808080;">'</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A:Z&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">EntireColumn</span>.<span style="color: #66cc66;">AutoFit</span>
&nbsp;
<span style="color: #808080;">'</span>
<span style="color: #808080;">' COLOR Macro</span>
<span style="color: #808080;">'</span>
<span style="color: #808080;">'</span>
  Application.<span style="color: #66cc66;">ScreenUpdating</span> = <span style="color: #b1b100;">False</span>
  Application.<span style="color: #66cc66;">Calculation</span> = xlCalculationManual   <span style="color: #808080;">'pre XL97 xlManual</span>
  <span style="color: #b1b100;">Dim</span> Rng <span style="color: #b1b100;">As</span> Range, ix <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>
  <span style="color: #b1b100;">Set</span> Rng = Intersect<span style="color: #66cc66;">&#40;</span>Range<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;P:P&quot;</span><span style="color: #66cc66;">&#41;</span>, ActiveSheet.<span style="color: #66cc66;">UsedRange</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #b1b100;">For</span> ix = Rng.<span style="color: #b1b100;">Count</span> <span style="color: #b1b100;">To</span> <span style="color: #cc66cc;">1</span> Step <span style="color: #cc66cc;">-1</span>
      <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">Trim</span><span style="color: #66cc66;">&#40;</span>Replace<span style="color: #66cc66;">&#40;</span>Rng.<span style="color: #66cc66;">Item</span><span style="color: #66cc66;">&#40;</span>ix<span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Text</span>, <span style="color: #b1b100;">Chr</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">160</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #b1b100;">Chr</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">32</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> = <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #b1b100;">Then</span>
        Rng.<span style="color: #66cc66;">Item</span><span style="color: #66cc66;">&#40;</span>ix<span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">ClearContents</span>
      <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span>
  <span style="color: #b1b100;">Next</span>
done:
  Application.<span style="color: #66cc66;">Calculation</span> = xlCalculationAutomatic
  Application.<span style="color: #66cc66;">ScreenUpdating</span> = <span style="color: #b1b100;">True</span>
&nbsp;
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;H:H&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">SpecialCells</span><span style="color: #66cc66;">&#40;</span>xlCellTypeBlanks<span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    <span style="color: #b1b100;">With</span> Selection.<span style="color: #66cc66;">Interior</span>
        .<span style="color: #66cc66;">Pattern</span> = xlSolid
        .<span style="color: #66cc66;">PatternColorIndex</span> = xlAutomatic
        .<span style="color: #66cc66;">COLOR</span> = <span style="color: #cc66cc;">65535</span>
        .<span style="color: #66cc66;">TintAndShade</span> = <span style="color: #cc66cc;">0</span>
        .<span style="color: #66cc66;">PatternTintAndShade</span> = <span style="color: #cc66cc;">0</span>
    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">With</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;P:P&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    Columns<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;P:P&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">SpecialCells</span><span style="color: #66cc66;">&#40;</span>xlCellTypeBlanks<span style="color: #66cc66;">&#41;</span>.<span style="color: #66cc66;">Select</span>
    <span style="color: #b1b100;">With</span> Selection.<span style="color: #66cc66;">Interior</span>
        .<span style="color: #66cc66;">Pattern</span> = xlSolid
        .<span style="color: #66cc66;">PatternColorIndex</span> = xlAutomatic
        .<span style="color: #66cc66;">COLOR</span> = <span style="color: #cc66cc;">65535</span>
        .<span style="color: #66cc66;">TintAndShade</span> = <span style="color: #cc66cc;">0</span>
        .<span style="color: #66cc66;">PatternTintAndShade</span> = <span style="color: #cc66cc;">0</span>
    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">With</span>
&nbsp;
<span style="color: #b1b100;">End</span> <span style="color: #b1b100;">Sub</span></pre>
<p><a href="http://www.strickstuff.com/mycode.txt">Here</a> is the full code, in txt format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strickstuff.com/wp/2008/06/17/autoformat-a-spreadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

