<?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>Excel | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/excel/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>Excel | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>How To Export Excel Spreadsheet To A Fixed-Width Text File</title>
		<link>https://www.kjctech.net/how-to-export-excel-spreadsheet-to-a-fixed-width-text-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-export-excel-spreadsheet-to-a-fixed-width-text-file</link>
					<comments>https://www.kjctech.net/how-to-export-excel-spreadsheet-to-a-fixed-width-text-file/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Thu, 05 Sep 2013 01:32:02 +0000</pubDate>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Fixed-Width]]></category>
		<category><![CDATA[VBA]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=2203</guid>

					<description><![CDATA[<p>The easy way is to Save As to a Formatted Text file (Space Delimited)(*.prn). But you will be struggled to find out that it&#8217;s really hard to precisely specify the fixed-width, almost impossible to use to export the data into a perfect space aligned text file. What I am luck to find out is this with VBA. It&#8217;s a far [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-export-excel-spreadsheet-to-a-fixed-width-text-file/">How To Export Excel Spreadsheet To A Fixed-Width Text File</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>The easy way is to Save As to a Formatted Text file (Space Delimited)(*.prn).</p>
<p><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2204" alt="kjc - Excel Save As Formatted Text File" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=596%2C365" width="596" height="365" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?w=596&amp;ssl=1 596w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=250%2C153&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=450%2C276&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=520%2C318&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=360%2C220&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2013/09/kjc-Excel-Save-As-Formatted-Text-File.png?resize=100%2C61&amp;ssl=1 100w" sizes="(max-width: 596px) 100vw, 596px" /></a></p>
<p>But you will be struggled to find out that it&#8217;s really hard to precisely specify the fixed-width, almost impossible to use to export the data into a perfect space aligned text file.</p>
<p>What I am luck to find out is <a href="http://www.databison.com/export-excel-as-fixed-width-text-file-format-using-vba/" target="_blank" rel="noopener">this with VBA</a>. It&#8217;s a far more flexible solution that lets you export a spreadsheet to a perfectly lined up text file. The author also posted a template for you to download and use. If you know a little bit VBA, you can even change the code to work you better.</p>
<p>Basically, the first row in the template defines the width of each column. All you need to do is paste the data into the template, highlight them, and click Export button to save the fixed-width text file in the same directory as the template is saved.</p>The post <a href="https://www.kjctech.net/how-to-export-excel-spreadsheet-to-a-fixed-width-text-file/">How To Export Excel Spreadsheet To A Fixed-Width Text File</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-export-excel-spreadsheet-to-a-fixed-width-text-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2203</post-id>	</item>
		<item>
		<title>How to repair a corrupted Excel spreadsheet</title>
		<link>https://www.kjctech.net/how-to-repair-a-corrupted-excel-spreadsheet/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-repair-a-corrupted-excel-spreadsheet</link>
					<comments>https://www.kjctech.net/how-to-repair-a-corrupted-excel-spreadsheet/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Thu, 15 Mar 2012 20:08:18 +0000</pubDate>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=1691</guid>

					<description><![CDATA[<p>I store all my documentations in my Dropbox so I can get access to them at anytime from anywhere. But this morning I found that one of the excel sheet I have in the Dropbox corrupted. And because it&#8217;s in the Dropbox, the corrupted version was on every single device I have Dropbox installed. Ooops, even on the Dropbox web [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-repair-a-corrupted-excel-spreadsheet/">How to repair a corrupted Excel spreadsheet</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I store all my documentations in my Dropbox so I can get access to them at anytime from anywhere. But this morning I found that one of the excel sheet I have in the Dropbox corrupted. And because it&#8217;s in the Dropbox, the corrupted version was on every single device I have Dropbox installed. Ooops, even on the Dropbox web console, I wasn&#8217;t luck enough finding a revision that works.</p>
<p>Out of luck of restoring it from any backup, I ran through number of options trying to repair it and finally got it repaired without paying a penny to any service or software. If you are down the road having the same problem, here are the things that you can try.</p>
<p>The error message that prompted is something like this:</p>
<blockquote>
<p>Excel cannot open the file because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.</p>
</blockquote>
<p>And as you can tell, it doesn&#8217;t make too much sense, since the file in question is an Excel file with the right extension name associated. The only possible reason why I couldn&#8217;t open it is because it was corrupted.</p>
<h2>1. Always try to recover it from a backup or a previous working revision</h2>
<p>Even though it means that you may lose some current data, you get the file back with the data that is accurate.</p>
<h2>2. Use Open &amp; Repair in Excel</h2>
<p>Open Excel, find and select the corrupted Excel file, instead of clicking open, choose<strong><em> Open &amp; Repair</em></strong> from the down arrow in the Open button.</p>
<p><img data-recalc-dims="1" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2012/03/image2.png?resize=600%2C230" width="600" height="230" /></p>
<p>You will have the choice of Repair and Extract Data in the next dialog box after you click Open and Repair.</p>
<p><img data-recalc-dims="1" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2012/03/image3.png?resize=580%2C90" width="580" height="90" /></p>
<p>Go with the Repair first as it recovers the most out of the corrupted file, then Extract Data if the Repair failed.</p>
<h2>3. Upload the corrupt file to Google Docs</h2>
<p>What it ended up fixing my corrupted Excel is Google Docs. Can you believe it? I actually tried Office Web App first but got the same error as Excel client. Then out of curious what Google Docs might do to my spreadsheet, I uploaded to it and was open it successfully. I then downloaded to replace the one that was corrupted in my Dropbox.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2012/03/image4.png?resize=215%2C148" width="215" height="148" /></p>
<h2>4. Use Macro to extract the data</h2>
<p>If none of above worked and the data in the spreadsheet is more important than anything else, the Macro shown in <a href="http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?pid=CH100948241033">this document</a> might be able to help you out.</p>
<h2>5. Last resource</h2>
<p>Of course, there are commercial repairing software out there that could also be helpful if you are REALLY running out of the options. Simply doing a Google search will bring you a bunch of them. But then you will have to try your luck to pick one that has the most possibility to fix your file.</p>The post <a href="https://www.kjctech.net/how-to-repair-a-corrupted-excel-spreadsheet/">How to repair a corrupted Excel spreadsheet</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-repair-a-corrupted-excel-spreadsheet/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1691</post-id>	</item>
	</channel>
</rss>
