<?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: Save File with Date</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Javed Aryan</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66749</link>
		<dc:creator>Javed Aryan</dc:creator>
		<pubDate>Wed, 05 Oct 2011 05:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66749</guid>
		<description>&lt;p&gt;Can anyone tell me how to upload data in docs.google.com using excel macros? please help me i need it very badly.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can anyone tell me how to upload data in docs.google.com using excel macros? please help me i need it very badly.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TJ Phe</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66744</link>
		<dc:creator>TJ Phe</dc:creator>
		<pubDate>Tue, 04 Oct 2011 21:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66744</guid>
		<description>&lt;p&gt;Thanks, Dick.  That&#039;s the stuff.  I actually got around the problem by saving as a specific filename in a specific location (i.e. &quot;CurrentData&quot;), then once the other macros have executed, the user is required to save to a specific filename and location based on the date, but I like this better!  Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, Dick.  That&#8217;s the stuff.  I actually got around the problem by saving as a specific filename in a specific location (i.e. &#8220;CurrentData&#8221;), then once the other macros have executed, the user is required to save to a specific filename and location based on the date, but I like this better!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66742</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Tue, 04 Oct 2011 20:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66742</guid>
		<description>&lt;p&gt;TH Phe:  Because the file is originally a text file, that&#039;s how Excel will save it.  With text files, the *only* sheet is renamed to the same name as the file.  If you close the file and reopen, all the sheets except the activesheet will be gone.  Here&#039;s what you need.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container text default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;text codecolorer&quot;&gt;ActiveWorkbook.SaveAs &quot;S:Organized Data&quot; &amp; Format(Now, &quot;yyyymmdd&quot;) &amp; &quot;.xls&quot;, xlWorkbookNormal&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>TH Phe:  Because the file is originally a text file, that&#8217;s how Excel will save it.  With text files, the *only* sheet is renamed to the same name as the file.  If you close the file and reopen, all the sheets except the activesheet will be gone.  Here&#8217;s what you need.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">ActiveWorkbook.SaveAs &#8220;S:Organized Data&#8221; &amp; Format(Now, &#8220;yyyymmdd&#8221;) &amp; &#8220;.xls&#8221;, xlWorkbookNormal</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: TJ Phe</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66718</link>
		<dc:creator>TJ Phe</dc:creator>
		<pubDate>Mon, 03 Oct 2011 15:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66718</guid>
		<description>&lt;p&gt;Hey Everyone...VERY new to Excel macros, much less VB, so I have a question related to having a macro save a workbook with a specific filename based on the current date.  Here is my code so far...&lt;/p&gt;
&lt;p&gt;Windows(&quot;Graph2.txt&quot;).Activate&lt;br&gt;
    Sheets(&quot;Graph2?).Select&lt;br&gt;
    Sheets(&quot;Graph2?).Move After:=Workbooks(&quot;Graph1.txt&quot;).Sheets(1)&lt;br&gt;
    Windows(&quot;Graph3.txt&quot;).Activate&lt;br&gt;
    Sheets(&quot;Graph3?).Select&lt;br&gt;
    Sheets(&quot;Graph3?).Move After:=Workbooks(&quot;Graph1.txt&quot;).Sheets(2)&lt;br&gt;
    Windows(&quot;Graph4.txt&quot;).Activate&lt;br&gt;
    Sheets(&quot;Graph4?).Select&lt;br&gt;
    Sheets(&quot;Graph4?).Move After:=Workbooks(&quot;Graph1.txt&quot;).Sheets(3)&lt;/p&gt;
&lt;p&gt;What this does is takes 4 individual data (.txt) files (that are already opened with another macro and have dedicated file names of Graph1.txt, Graph2.txt, Graph3.txt, and Graph4.txt) and combines them into one workbook called Graph1.txt, so there are 4 different sheets in one file instead of 4 individual files.  When I insert the code...&lt;/p&gt;
&lt;p&gt;    ActiveWorkbook.SaveAs &quot;S:Organized Data&quot; &amp; Format(Now, &quot;yyyymmdd&quot;) &amp; &quot;.xls&quot;&lt;/p&gt;
&lt;p&gt;It saves the file correctly, but also changes the sheet name (I assume the currently active sheet [or as I call them...&quot;tabs&quot;]) of &quot;Graph1? to match the filename (specifically, the first &quot;tab&quot; or sheet is changed from &quot;Graph1? to 20111003, for example).  How do I keep the file-saving-code without changing one of the sheet names to the filename?  I am sure there are easier ways for me to accomplish some of this stuff, but I do need the sheets to keep there generic names of Graph1, Graph2, Graph3, and Graph4 for use within future macros.&lt;br&gt;
Thanks&lt;br&gt;
TJ&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Everyone&#8230;VERY new to Excel macros, much less VB, so I have a question related to having a macro save a workbook with a specific filename based on the current date.  Here is my code so far&#8230;</p>
<p>Windows(&#8220;Graph2.txt&#8221;).Activate<br />
    Sheets(&#8220;Graph2?).Select<br />
    Sheets(&#8220;Graph2?).Move After:=Workbooks(&#8220;Graph1.txt&#8221;).Sheets(1)<br />
    Windows(&#8220;Graph3.txt&#8221;).Activate<br />
    Sheets(&#8220;Graph3?).Select<br />
    Sheets(&#8220;Graph3?).Move After:=Workbooks(&#8220;Graph1.txt&#8221;).Sheets(2)<br />
    Windows(&#8220;Graph4.txt&#8221;).Activate<br />
    Sheets(&#8220;Graph4?).Select<br />
    Sheets(&#8220;Graph4?).Move After:=Workbooks(&#8220;Graph1.txt&#8221;).Sheets(3)</p>
<p>What this does is takes 4 individual data (.txt) files (that are already opened with another macro and have dedicated file names of Graph1.txt, Graph2.txt, Graph3.txt, and Graph4.txt) and combines them into one workbook called Graph1.txt, so there are 4 different sheets in one file instead of 4 individual files.  When I insert the code&#8230;</p>
<p>    ActiveWorkbook.SaveAs &#8220;S:Organized Data&#8221; &amp; Format(Now, &#8220;yyyymmdd&#8221;) &amp; &#8220;.xls&#8221;</p>
<p>It saves the file correctly, but also changes the sheet name (I assume the currently active sheet [or as I call them..."tabs"]) of &#8220;Graph1? to match the filename (specifically, the first &#8220;tab&#8221; or sheet is changed from &#8220;Graph1? to 20111003, for example).  How do I keep the file-saving-code without changing one of the sheet names to the filename?  I am sure there are easier ways for me to accomplish some of this stuff, but I do need the sheets to keep there generic names of Graph1, Graph2, Graph3, and Graph4 for use within future macros.<br />
Thanks<br />
TJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Faria</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66516</link>
		<dc:creator>Carlos Faria</dc:creator>
		<pubDate>Sat, 24 Sep 2011 21:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66516</guid>
		<description>&lt;p&gt;Olá Steve blz..&lt;/p&gt;
&lt;p&gt;Amigo fiz uma planilha no excell que tudo que faz nela ela salva automatico sem necessidade de esta na frente do pc&lt;br&gt;
Só que preciso que tenha uma linha de programação que faz salvar os dados em um determinado local com data e hora.&lt;br&gt;
Ex; C: meusprojeto&lt;br&gt;
Pode me ajudar por favor.&lt;br&gt;
Parabéns pelo Site ,muito bomm.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Olá Steve blz..</p>
<p>Amigo fiz uma planilha no excell que tudo que faz nela ela salva automatico sem necessidade de esta na frente do pc<br />
Só que preciso que tenha uma linha de programação que faz salvar os dados em um determinado local com data e hora.<br />
Ex; C: meusprojeto<br />
Pode me ajudar por favor.<br />
Parabéns pelo Site ,muito bomm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66310</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Tue, 13 Sep 2011 14:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66310</guid>
		<description>&lt;p&gt;Hi Steve, &lt;/p&gt;
&lt;p&gt;as far as saving with the date, you can use the code shown above. For the autofit, you could add something along the lines of &lt;code class=&quot;codecolorer vb default&quot;&gt;&lt;span class=&quot;vb&quot;&gt;Worksheets(&lt;span class=&quot;st0&quot;&gt;&quot;Sheet1&quot;&lt;/span&gt;).Columns(&lt;span class=&quot;st0&quot;&gt;&quot;C:I&quot;&lt;/span&gt;).AutoFit&lt;/span&gt;&lt;/code&gt; in the Workbook_BeforeSave event or in the Worksheet_Activate event&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Steve, </p>
<p>as far as saving with the date, you can use the code shown above. For the autofit, you could add something along the lines of</p>
<div class="codecolorer-container text default codecolorer vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;span class=&quot;vb&quot;&gt;Worksheets(&lt;span class=&quot;st0&quot;&gt;&quot;Sheet1&quot;&lt;/span&gt;).Columns(&lt;span class=&quot;st0&quot;&gt;&quot;C:I&quot;&lt;/span&gt;).AutoFit&lt;/span&gt;</div></div>
<p>in the Workbook_BeforeSave event or in the Worksheet_Activate event</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: STEVE</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-66308</link>
		<dc:creator>STEVE</dc:creator>
		<pubDate>Tue, 13 Sep 2011 12:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-66308</guid>
		<description>&lt;p&gt;Hi there everyone,&lt;br&gt;
Need a little assist. How can i save a xls file with date as part of the filename but most of all saved with Autofit Selected in VB code. The problem is,everytime i open the file i have to do a autofit seletion. I can&#039;t seem to work it out. Thanks in advance to anyone.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi there everyone,<br />
Need a little assist. How can i save a xls file with date as part of the filename but most of all saved with Autofit Selected in VB code. The problem is,everytime i open the file i have to do a autofit seletion. I can&#8217;t seem to work it out. Thanks in advance to anyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-65210</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Thu, 21 Jul 2011 13:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-65210</guid>
		<description>&lt;p&gt;Thanks Seb.  I fixed the post so the quotes render properly.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Seb.  I fixed the post so the quotes render properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-65207</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Thu, 21 Jul 2011 11:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-65207</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To the people who said that it didn&#039;t work and they got the following error:&lt;/p&gt;
&lt;p&gt;Compile error: Expected: line number or label or statement or end of statement&lt;/p&gt;
&lt;p&gt;I had that and when I had copied and pasted it had weird quotation marks that looked like they were in italics. I simply deleted those and replaced them with normal quotation marks and it worked perfectly.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>To the people who said that it didn&#8217;t work and they got the following error:</p>
<p>Compile error: Expected: line number or label or statement or end of statement</p>
<p>I had that and when I had copied and pasted it had weird quotation marks that looked like they were in italics. I simply deleted those and replaced them with normal quotation marks and it worked perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/21/save-file-with-date/#comment-61083</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 15 Mar 2011 19:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=481#comment-61083</guid>
		<description>&lt;p&gt;This is the folder I want to save the files to&lt;/p&gt;
&lt;p&gt;C:Documents and SettingsChris.CHRIS-DEC7A5D2EDesktopCryoStuff&lt;/p&gt;
&lt;p&gt;When I click on the save file button I want the save as screen to automatically pop up with this folder open with the file name already there.&lt;/p&gt;
&lt;p&gt;File name would be L28_Date_Time.XLS &lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is the folder I want to save the files to</p>
<p>C:Documents and SettingsChris.CHRIS-DEC7A5D2EDesktopCryoStuff</p>
<p>When I click on the save file button I want the save as screen to automatically pop up with this folder open with the file name already there.</p>
<p>File name would be L28_Date_Time.XLS </p>
<p>Thank you very much</p>
<p>Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>

