<?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: ExtractFileName</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:32:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: DavidB</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-15847</link>
		<dc:creator>DavidB</dc:creator>
		<pubDate>Sat, 03 Sep 2005 06:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-15847</guid>
		<description>&lt;p&gt;Hi there - I cpied the code and came up with a couple of problems which I have managed to fix.&lt;/p&gt;
&lt;p&gt;Firstly the single quote at the start of the line&lt;br&gt;
 ?eturns the filename from a full path&lt;br&gt;
needs to be replaced with a single quote like this one &#039; to make it a comment.&lt;/p&gt;
&lt;p&gt;Second the line&lt;br&gt;
Const sPATHSEP As String = ?&lt;br&gt;
needs to be amended as follows&lt;br&gt;
Const sPATHSEP As String = &quot;&quot;&lt;/p&gt;
&lt;p&gt;Not sure why this corruption is occurring but my comments may help someone else.&lt;/p&gt;
&lt;p&gt;Regards David&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi there &#8211; I cpied the code and came up with a couple of problems which I have managed to fix.</p>
<p>Firstly the single quote at the start of the line<br />
 ?eturns the filename from a full path<br />
needs to be replaced with a single quote like this one &#8216; to make it a comment.</p>
<p>Second the line<br />
Const sPATHSEP As String = ?<br />
needs to be amended as follows<br />
Const sPATHSEP As String = &#8220;&#8221;</p>
<p>Not sure why this corruption is occurring but my comments may help someone else.</p>
<p>Regards David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie(UK)</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-6363</link>
		<dc:creator>Richie(UK)</dc:creator>
		<pubDate>Mon, 31 Jan 2005 21:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-6363</guid>
		<description>&lt;p&gt;Aahhh ... I see.  Cheers.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Aahhh &#8230; I see.  Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-6318</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Mon, 31 Jan 2005 16:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-6318</guid>
		<description>&lt;p&gt;Richie:  Because the file would have to exist for Dir to work.  There may be a case that you need to parse a string that looks like a path and file, but that actually isn&#039;t a file on the hard drive.  Pretty rare, I know, but that was the thinking.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Richie:  Because the file would have to exist for Dir to work.  There may be a case that you need to parse a string that looks like a path and file, but that actually isn&#8217;t a file on the hard drive.  Pretty rare, I know, but that was the thinking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richie(UK)</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-6310</link>
		<dc:creator>Richie(UK)</dc:creator>
		<pubDate>Mon, 31 Jan 2005 13:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-6310</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Forgive the late post - I just happened to be browsing through some of the code here (there&#039;s some good stuff!).&lt;/p&gt;
&lt;p&gt;Is there any reason why we can&#039;t simply use Dir?  &lt;/p&gt;
&lt;p&gt;Like this:&lt;/p&gt;
&lt;p&gt;Sub Test()&lt;br&gt;
    Dim strFullName As String&lt;/p&gt;
&lt;p&gt;    strFullName = ThisWorkbook.FullName&lt;br&gt;
    MsgBox &quot;The fullname is : &quot; &amp; strFullName &amp; vbNewLine &amp; _&lt;br&gt;
        &quot;The filename is : &quot; &amp; Dir(strFullName)&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Forgive the late post &#8211; I just happened to be browsing through some of the code here (there&#8217;s some good stuff!).</p>
<p>Is there any reason why we can&#8217;t simply use Dir?  </p>
<p>Like this:</p>
<p>Sub Test()<br />
    Dim strFullName As String</p>
<p>    strFullName = ThisWorkbook.FullName<br />
    MsgBox &#8220;The fullname is : &#8221; &amp; strFullName &amp; vbNewLine &amp; _<br />
        &#8220;The filename is : &#8221; &amp; Dir(strFullName)</p>
<p>End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-1599</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Thu, 01 Jul 2004 05:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-1599</guid>
		<description>&lt;p&gt;Might want to make use of Application.PathSeparator&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Might want to make use of Application.PathSeparator</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-1598</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Wed, 26 May 2004 17:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-1598</guid>
		<description>&lt;p&gt;Using Split is pure genius.  Now why didn&#039;t I think of that?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Using Split is pure genius.  Now why didn&#8217;t I think of that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/05/26/extractfilename/#comment-1597</link>
		<dc:creator>Juan Pablo</dc:creator>
		<pubDate>Wed, 26 May 2004 17:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=577#comment-1597</guid>
		<description>&lt;p&gt;I posted something similar in VBAExpress, here.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.vbaexpress.com/forum/showthread.php?postid=574#poststop&quot;&gt;Link&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I posted something similar in VBAExpress, here.</p>
<p><a href="http://www.vbaexpress.com/forum/showthread.php?postid=574#poststop">Link</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

