<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>EduGeek.net - Blogs - It looks like you are trying to write a blog... by Pico</title>
		<link>http://www.edugeek.net/blogs/pico/</link>
		<description><![CDATA[EduGeek.net - The I.T. professionals' life line]]></description>
		<language>en</language>
		<lastBuildDate>Mon, 20 May 2013 20:21:08 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>2</ttl>
		<image>
			<url>http://staticc3.cdngeek.net/images/misc/rss.jpg</url>
			<title>EduGeek.net - Blogs - It looks like you are trying to write a blog... by Pico</title>
			<link>http://www.edugeek.net/blogs/pico/</link>
		</image>
		<item>
			<title>Some Text Editors I Have Known</title>
			<link>http://www.edugeek.net/blogs/pico/1167-some-text-editors-i-have-known.html</link>
			<pubDate>Fri, 24 Feb 2012 14:01:04 GMT</pubDate>
			<description><![CDATA[This blog has been sorely neglected since I got caught up with our school's switch between MIS providers. So, in an effort to rescue it from the...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">This blog has been sorely neglected since I got caught up with our school's switch between MIS providers. So, in an effort to rescue it from the hordes of one-post blogs on the web, here, for no good reason at all, are some of the text editors I have known:<br />
<br />
<b><font size="3">Notepad</font></b><br />
<br />
Yes, we all have to start somewhere…<br />
<br />
<b><font size="3">Wordpad</font></b><br />
<br />
Has a better time with Linux/Unix new line breaks than Notepad, but it's a rich text editor &gt;_&lt;<br />
<br />
<b><font size="3">Pico ;)</font></b><br />
<br />
Just about the simplest text editor I have ever used. I used it more than Less and never really used More :D<br />
<br />
<b><font size="3">ConTEXT</font></b><br />
<br />
<a href="http://www.contexteditor.org/" target="_blank">ConTEXT Home Page</a><br />
<br />
The editor I generally use on Windows. Has a command line so you can execute script from inside the editor. Several built-in syntax highlighters, though you can roll your own.<br />
<br />
<b><font size="3">Leo</font></b><br />
<br />
<a href="http://webpages.charter.net/edreamleo/front.html" target="_blank">Leo's Home Page</a><br />
<br />
Although I came to this editor through a passing interest in literate programming, I actually ended up using this for web site and chm file creation. I was using PPWizard (<a href="http://dennisbareis.com/ppwizard.htm" target="_blank">PPWizard Home Page</a>) as my preprocessor and was frustrated by the fact that the processing instructions would need to be edited across a number of files. That seemed to be no better than if I was editing the html directly. But Leo solved that for me by enabling me to clone parts of text files. Now I only needed to edit one item to change the whole web site. Plus you could arrange the structure of your site in Leo independently of the physical file locations of your files.<br />
<br />
It is a customisable editor, so if you know a little Python you can add your own functionality.<br />
<br />
<b><font size="3">Emacs</font></b><br />
<br />
<a href="http://www.gnu.org/software/emacs/" target="_blank">GNU Emacs - GNU Project Home Page</a><br />
<br />
I took a peek at Vi. Looked, but did not stay for the whole show. The reason? Emacs had gotten there first. Not really a text editor, but a way of life. You could probably take over the whole world without ever leaving Emacs :D<br />
<br />
/rocking chair</blockquote>

]]></content:encoded>
			<dc:creator>Pico</dc:creator>
			<guid isPermaLink="true">http://www.edugeek.net/blogs/pico/1167-some-text-editors-i-have-known.html</guid>
		</item>
		<item>
			<title>Excel 2010 - Printer Fails to Communicate</title>
			<link>http://www.edugeek.net/blogs/pico/755-excel-2010-printer-fails-communicate.html</link>
			<pubDate>Thu, 05 May 2011 13:52:24 GMT</pubDate>
			<description>Long term users of Excel VBA will be familiar with slow processing of page set up if code like the following is used: 
 
*With*...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Long term users of Excel VBA will be familiar with slow processing of page set up if code like the following is used:<br />
<br />
<span style="font-family: Courier New"><b>With</b> ActiveWorksheet.PageSetup<br />
<div style="margin-left:40px">.CenterHeader = &quot;Title of the Worksheet&quot;</div><div style="margin-left:40px">.LeftFooter = &quot;Today's Date&quot;</div><div style="margin-left:40px">.RightFooter = &quot;Page &amp;P of &amp;N&quot;</div><div style="margin-left:40px">.PrintArea = &quot;$A$1:$H$28&quot;</div><b>End With</b></span><br />
<br />
The problem with the code is that, despite the use of the <b><span style="font-family: Courier New">With</span></b> statement, each line requires a call to the printer driver, rather than the whole statement being sent once. The most common solution is to fall back on the Page.SetUp Excel 4 macro. An example of the kind of code that a programmer might use can be found here: <a href="http://www.mcgimpsey.com/excel/udfs/pagesetup.html" target="_blank">McGimpsey &amp; Associates : Excel : Bypassing Slow VBA PageSetup</a>.<br />
<br />
Changes to Excel 2010 were intended to remove the need to fall back on legacy code by switching on and off the printer communication (additions to code in blue):<br />
<br />
<font color="navy"><span style="font-family: Courier New">Application.PrintCommunication = <b>False</b></span></font><br />
<br />
<span style="font-family: Courier New"><b>With</b> ActiveWorksheeet.PageSetup<br />
<div style="margin-left:40px">.CenterHeader = &quot;Title of the Worksheet&quot;</div><div style="margin-left:40px">.LeftFooter = &quot;Today's Date&quot;</div><div style="margin-left:40px">.RightFooter = &quot;Page &amp;P of &amp;N&quot;</div><div style="margin-left:40px">.PrintArea = &quot;$A$1:$H$28&quot;</div><b>End With</b></span><br />
<br />
<font color="navy"><span style="font-family: Courier New">Application.PrintCommunication = <b>True</b></span></font><br />
<br />
Further information can be found here: <a href="http://blogs.office.com/b/microsoft-excel/archive/2010/02/16/migrating-excel-4-macros-to-vba.aspx" target="_blank">Microsoft Excel - Migrating Excel 4 Macros to VBA</a>.<br />
<br />
Unfortunately, it doesn't work as intended! Although I present the problem in terms of the footer, the same applies to the header.<br />
<br />
The footer has three components: Left, Center and Right. If these have not yet been set the macro works as intended. However, if any of these have been previously assigned to, only the last footer section listed in the macro will have its text changed. That is, whichever is the last of <span style="font-family: Courier New">LeftFooter</span>, <span style="font-family: Courier New">CenterFooter</span> and <span style="font-family: Courier New">RightFooter</span> <i>as listed in code order</i> is changed and the others are left untouched.<br />
<br />
Additionally, using the familiar &quot;Page &amp;P of &amp;N&quot; gets cut off if more than one section of the footer is assigned to.<br />
<br />
It appears others have experienced the same problem:<br />
<br />
<ul><li style=""><a href="http://www.vbforums.com/showthread.php?p=3969211" target="_blank">MsOf10 [Excel] Issue Setting Headers &amp; Footers in 2010 - VBForums</a></li><li style=""><a href="http://www.mrexcel.com/forum/showthread.php?p=2527059" target="_blank">vba code not setting footer on all sheets - MrExcel Message Board</a></li><li style=""><a href="http://answers.microsoft.com/en-us/office/forum/office_2010-customize/excel-macro-will-not-change-header-information/43cfb783-9b6e-42cf-b935-4a2752b147a9" target="_blank">Excel Macro will not change header information - Microsoft Answers</a></li></ul><br />
<br />
In each case the advice is not to use <b><span style="font-family: Courier New">PrintCommunication</span></b>!<br />
<br />
This is a real pity as apart from problems with (re-) setting the footers and headers, it works exactly as intended. Nonetheless, I am still using Excel 4 macros in version 14 &gt;.&lt;</blockquote>

]]></content:encoded>
			<dc:creator>Pico</dc:creator>
			<guid isPermaLink="true">http://www.edugeek.net/blogs/pico/755-excel-2010-printer-fails-communicate.html</guid>
		</item>
	</channel>
</rss>
