<?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: Creating Wildcards</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:28:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: John R</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-34791</link>
		<dc:creator>John R</dc:creator>
		<pubDate>Sun, 14 Sep 2008 19:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-34791</guid>
		<description>&lt;p&gt;I cannot fix the phantom workbooks in VBE by clearing the addins in Registry. The problem I have is the books I am trying to close has a reference to the one which calls the closing routine and should shut itself down at the end. However it will not as there is still a reference to it in another workbook albeit a phantom one. Crashes Excel if I close. I have taken all the code out of the phantom books and it still happens also removed the reference. Seems to happed whatever. They are all based on a template so all have the same VB project name, changing this once opened makes no difference. Can anyone give me any more ideas. May be chuck Excel 2007!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I cannot fix the phantom workbooks in VBE by clearing the addins in Registry. The problem I have is the books I am trying to close has a reference to the one which calls the closing routine and should shut itself down at the end. However it will not as there is still a reference to it in another workbook albeit a phantom one. Crashes Excel if I close. I have taken all the code out of the phantom books and it still happens also removed the reference. Seems to happed whatever. They are all based on a template so all have the same VB project name, changing this once opened makes no difference. Can anyone give me any more ideas. May be chuck Excel 2007!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brettdj</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22292</link>
		<dc:creator>brettdj</dc:creator>
		<pubDate>Fri, 02 Feb 2007 04:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22292</guid>
		<description>&lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;I recently fixed my VBE phantom workbook issue by culling the Addins from the registry.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>I recently fixed my VBE phantom workbook issue by culling the Addins from the registry.</p>
<p>Cheers</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22176</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Tue, 23 Jan 2007 23:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22176</guid>
		<description>&lt;p&gt;Okk: In terms of inferring a pattern, there&#039;s a big difference between {&quot;QC123pg123?,&quot;QC123lp123?} and {&quot;file123A2name&quot;,&quot;file9A4name&quot;}. The first requires QC123*p*123 while the latter could be rendered as file?*A?name, where * and ?* take on their COUNTIF/SUMIF meanings: * means ZERO or more characters while ?* means ONE or more characters. Much easier to program detection of one or more characters. That said, there comes a point where only humans could detect patterns.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Okk: In terms of inferring a pattern, there&#8217;s a big difference between {&#8220;QC123pg123?,&#8221;QC123lp123?} and {&#8220;file123A2name&#8221;,&#8221;file9A4name&#8221;}. The first requires QC123*p*123 while the latter could be rendered as file?*A?name, where * and ?* take on their COUNTIF/SUMIF meanings: * means ZERO or more characters while ?* means ONE or more characters. Much easier to program detection of one or more characters. That said, there comes a point where only humans could detect patterns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the Okk</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22121</link>
		<dc:creator>the Okk</dc:creator>
		<pubDate>Thu, 18 Jan 2007 05:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22121</guid>
		<description>&lt;p&gt;fzz: I&#039;m talking about situations like {file123A2name,file9A4name}. Where &quot;A&quot; is an important and separates {file123A2name,file9A4name} from {file123B2name,file9B4name}.&lt;br&gt;
Of course QC123??123 will be more efficient for computer... but I think that that mask isn&#039;t complete.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>fzz: I&#8217;m talking about situations like {file123A2name,file9A4name}. Where &#8220;A&#8221; is an important and separates {file123A2name,file9A4name} from {file123B2name,file9B4name}.<br />
Of course QC123??123 will be more efficient for computer&#8230; but I think that that mask isn&#8217;t complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22120</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Wed, 17 Jan 2007 18:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22120</guid>
		<description>&lt;p&gt;QC123*p*123 may look better to humans, but QC123??123 would be much more efficient for computers to process. See any text on regular expressions. So it depends on who or what would be the intended user of these patterns.&lt;/p&gt;
&lt;p&gt;Any soundex or approximate matching algorithm could be adapted for this. They could restrict pattern generation to the two strings with the poorest match, and they could be canibalized to locate common substrings. &lt;/p&gt;
&lt;p&gt;Note that generating a pattern for pairs is much easier than generating patterns for 3 or more strings. For example, {abc,bca} -&gt; ?bc?, but {abc,bca,cab} -&gt; *a*, *b*, *c* all equally applicable and inefficient. And if there are no substrings in common, e.g., {abc,defg,hijkl}, what should the return pattern be, just * or ???* ? The latter indicates at least 3 characters. Again a question of whether the generated patterns are intended for human readers or computer processes. If the former, * may be better, but ???* would be much more useful in the latter case.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>QC123*p*123 may look better to humans, but QC123??123 would be much more efficient for computers to process. See any text on regular expressions. So it depends on who or what would be the intended user of these patterns.</p>
<p>Any soundex or approximate matching algorithm could be adapted for this. They could restrict pattern generation to the two strings with the poorest match, and they could be canibalized to locate common substrings. </p>
<p>Note that generating a pattern for pairs is much easier than generating patterns for 3 or more strings. For example, {abc,bca} -&gt; ?bc?, but {abc,bca,cab} -&gt; *a*, *b*, *c* all equally applicable and inefficient. And if there are no substrings in common, e.g., {abc,defg,hijkl}, what should the return pattern be, just * or ???* ? The latter indicates at least 3 characters. Again a question of whether the generated patterns are intended for human readers or computer processes. If the former, * may be better, but ???* would be much more useful in the latter case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22116</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 17 Jan 2007 14:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22116</guid>
		<description>&lt;p&gt;Matt -&lt;/p&gt;
&lt;p&gt;Having just researched this, the tags are:&lt;/p&gt;
&lt;p&gt;[ v b ] and [ / v b ]&lt;/p&gt;
&lt;p&gt;all closed together.  See the &quot;code in comments&quot; thread.&lt;/p&gt;
&lt;p&gt;...Michael&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Matt -</p>
<p>Having just researched this, the tags are:</p>
<p>[ v b ] and [ / v b ]</p>
<p>all closed together.  See the &#8220;code in comments&#8221; thread.</p>
<p>&#8230;Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the Okk</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22113</link>
		<dc:creator>the Okk</dc:creator>
		<pubDate>Wed, 17 Jan 2007 08:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22113</guid>
		<description>&lt;p&gt;Dick Kusleika: Are you sure? Is QC123*p*123 mask is not better?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick Kusleika: Are you sure? Is QC123*p*123 mask is not better?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22112</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 17 Jan 2007 03:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22112</guid>
		<description>&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;?wildcards(&quot;QC123pg123&quot;,&quot;QC123lp123&quot;)&lt;br&gt;
QC123*&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;should return&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;QC123??123&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I like the concept though.  I&#039;ll try to tweak it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">?wildcards(&#8220;QC123pg123&#8243;,&#8221;QC123lp123&#8243;)<br />
QC123*</div>
</div>
<p>should return</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">QC123??123</div>
</div>
<p>I like the concept though.  I&#8217;ll try to tweak it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22111</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Wed, 17 Jan 2007 01:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22111</guid>
		<description>&lt;p&gt;Keith: I tried to reproduce the problem using the steps you provided. It didn&#039;t reproduce the problem for me.&lt;/p&gt;
&lt;p&gt;I&#039;m positive that the COM add-in we use was causing the problem.&lt;/p&gt;
&lt;p&gt;The non registry way to solve is as follows:&lt;br&gt;
You need to get the &quot;COM Add-Ins...&quot; button onto your commandbar.&lt;br&gt;
- right click the commandbar, select Customize...&lt;br&gt;
- click the commands tab. From categories, choose Tools. From Commands, choose COM Add-Ins.&lt;br&gt;
- drag COM Add-Ins button to your commandbar. Close the Customize windows. Click the COM Add-Ins button.&lt;/p&gt;
&lt;p&gt;-or-&lt;/p&gt;
&lt;p&gt;To open COM Add-Ins window directly, execute this VBA:&lt;br&gt;
Application.CommandBars.FindControl(Id:=3754).Execute&lt;/p&gt;
&lt;p&gt;Then manage your Add-Ins by either unticking them, or removing them.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Keith: I tried to reproduce the problem using the steps you provided. It didn&#8217;t reproduce the problem for me.</p>
<p>I&#8217;m positive that the COM add-in we use was causing the problem.</p>
<p>The non registry way to solve is as follows:<br />
You need to get the &#8220;COM Add-Ins&#8230;&#8221; button onto your commandbar.<br />
- right click the commandbar, select Customize&#8230;<br />
- click the commands tab. From categories, choose Tools. From Commands, choose COM Add-Ins.<br />
- drag COM Add-Ins button to your commandbar. Close the Customize windows. Click the COM Add-Ins button.</p>
<p>-or-</p>
<p>To open COM Add-Ins window directly, execute this VBA:<br />
Application.CommandBars.FindControl(Id:=3754).Execute</p>
<p>Then manage your Add-Ins by either unticking them, or removing them.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Johnson</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/14/creating-wildcards/#comment-22110</link>
		<dc:creator>Keith Johnson</dc:creator>
		<pubDate>Tue, 16 Jan 2007 23:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1584#comment-22110</guid>
		<description>&lt;p&gt;Rob et al:&lt;/p&gt;
&lt;p&gt;Off topic, but on the &quot;Closed Workbooks in Projects window&quot; issue.  An attempt or two to resolve this (in March 2006) concluded that &quot;Phantom Workbooks&quot; were created by other than a misbehaving addin.  For example, if I remember correctly, I could reliably create one by programmatically opening a workbook (Set Wkb = Workbooks.Open(Path)), executing a dummy routine in it (via Application.Run), closing the workbook (Call Wkb.Close) and releasing its object variable (Set Wkb = Nothing).  The workbook then remained as a phantom.&lt;/p&gt;
&lt;p&gt;They&#039;re mostly annoying.  Associated objects like ThisWorkbook can&#039;t be selected in the VBE.  The &quot;out of memory&quot; messages are, at least, innocuous.  What I most objected to was that, although you *could* exceute code in phantom modules, attempting to *remove* them crashed Excel&lt;/p&gt;
&lt;p&gt;I&#039;m relatively convinced that Application.Run is creating a reference within Excel that is not cleared, and I couldn&#039;t then and can&#039;t now see how to clear it.  There likely are other ways to do the same thing.  But eventually, we gave up.  Restarting Excel clears things up, and that had to be a good enough &quot;solution.&quot;  (Googling &quot;phantom workbook&quot; in the MS excel programming newsgroup should lead anyone to this interchange.)&lt;/p&gt;
&lt;p&gt;Keith&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob et al:</p>
<p>Off topic, but on the &#8220;Closed Workbooks in Projects window&#8221; issue.  An attempt or two to resolve this (in March 2006) concluded that &#8220;Phantom Workbooks&#8221; were created by other than a misbehaving addin.  For example, if I remember correctly, I could reliably create one by programmatically opening a workbook (Set Wkb = Workbooks.Open(Path)), executing a dummy routine in it (via Application.Run), closing the workbook (Call Wkb.Close) and releasing its object variable (Set Wkb = Nothing).  The workbook then remained as a phantom.</p>
<p>They&#8217;re mostly annoying.  Associated objects like ThisWorkbook can&#8217;t be selected in the VBE.  The &#8220;out of memory&#8221; messages are, at least, innocuous.  What I most objected to was that, although you *could* exceute code in phantom modules, attempting to *remove* them crashed Excel</p>
<p>I&#8217;m relatively convinced that Application.Run is creating a reference within Excel that is not cleared, and I couldn&#8217;t then and can&#8217;t now see how to clear it.  There likely are other ways to do the same thing.  But eventually, we gave up.  Restarting Excel clears things up, and that had to be a good enough &#8220;solution.&#8221;  (Googling &#8220;phantom workbook&#8221; in the MS excel programming newsgroup should lead anyone to this interchange.)</p>
<p>Keith</p>
]]></content:encoded>
	</item>
</channel>
</rss>

