<?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: Unspecified but Painfully Frustrating Error</title>
	<atom:link href="http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/</link>
	<description>PTS Excel Charts and Tutorials Blog</description>
	<lastBuildDate>Sat, 21 Nov 2009 04:01:08 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: John Munoz</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-22134</link>
		<dc:creator>John Munoz</dc:creator>
		<pubDate>Fri, 13 Nov 2009 03:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-22134</guid>
		<description>Hi All,

I recently &quot;upgraded&quot; to Excel 2007 and was greeted with a battle of the Micros, Microcharts v. Microsoft. I kept getting the error, &quot;Compile error in hidden module: modInit&quot; as soon as I opened Excel, and Microcharts wouldn&#039;t run.

After sinking about 5 hours into trying to fix the problem, I came across Bob Flanagan&#039;s post above, used his temp deleting program, repaired Office 2007, and voila, I&#039;m back in business. Thank you Mr. Flanagan for documenting the fix and sharing it with everyone. And thanks to you Dr. Peltier for hosting this terrific site!

John C. Munoz
www.bzintelguru.com</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I recently &#8220;upgraded&#8221; to Excel 2007 and was greeted with a battle of the Micros, Microcharts v. Microsoft. I kept getting the error, &#8220;Compile error in hidden module: modInit&#8221; as soon as I opened Excel, and Microcharts wouldn&#8217;t run.</p>
<p>After sinking about 5 hours into trying to fix the problem, I came across Bob Flanagan&#8217;s post above, used his temp deleting program, repaired Office 2007, and voila, I&#8217;m back in business. Thank you Mr. Flanagan for documenting the fix and sharing it with everyone. And thanks to you Dr. Peltier for hosting this terrific site!</p>
<p>John C. Munoz<br />
<a href="http://www.bzintelguru.com" rel="nofollow">http://www.bzintelguru.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15987</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 07 Jul 2009 11:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15987</guid>
		<description>John - I imagine this might be a problem that has multiple causes. It might be a particular combination of controls, which might somehow be at odds with updated libraries for these controls. We sometimes say it&#039;s corruption when it oculd be incompatibilities between libraries.</description>
		<content:encoded><![CDATA[<p>John &#8211; I imagine this might be a problem that has multiple causes. It might be a particular combination of controls, which might somehow be at odds with updated libraries for these controls. We sometimes say it&#8217;s corruption when it oculd be incompatibilities between libraries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nurick</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15986</link>
		<dc:creator>John Nurick</dc:creator>
		<pubDate>Tue, 07 Jul 2009 10:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15986</guid>
		<description>Our Citrix expert came back to me just as I was packing up for a few days&#039;  holiday.  He thought it would turn out to be a permissions issue and said he&#039;d try publishing  the add-in as a Citrix application. 

Now I&#039;m back at work and trying it. So far it seems to work. I can&#039;t imagine why - though it does suggest that whatever is the source of the painfully frustrating error it isn&#039;t actually RefEdit...</description>
		<content:encoded><![CDATA[<p>Our Citrix expert came back to me just as I was packing up for a few days&#8217;  holiday.  He thought it would turn out to be a permissions issue and said he&#8217;d try publishing  the add-in as a Citrix application. </p>
<p>Now I&#8217;m back at work and trying it. So far it seems to work. I can&#8217;t imagine why &#8211; though it does suggest that whatever is the source of the painfully frustrating error it isn&#8217;t actually RefEdit&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15502</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 24 Jun 2009 02:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15502</guid>
		<description>Bob -

Thanks for your remediation protocol. It&#039;s not too different from what I&#039;ve done, but it&#039;s more systematic, and I believe your success rate is good. I go through and wipe out the EXD files from time to time, just for target practice, but it seems to reduce funny business that occurs from time to time. It&#039;s nice that you have a utility to clean up the temp and EXD files, I&#039;ll have to give it a try.</description>
		<content:encoded><![CDATA[<p>Bob -</p>
<p>Thanks for your remediation protocol. It&#8217;s not too different from what I&#8217;ve done, but it&#8217;s more systematic, and I believe your success rate is good. I go through and wipe out the EXD files from time to time, just for target practice, but it seems to reduce funny business that occurs from time to time. It&#8217;s nice that you have a utility to clean up the temp and EXD files, I&#8217;ll have to give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Flanagan</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15501</link>
		<dc:creator>Bob Flanagan</dc:creator>
		<pubDate>Wed, 24 Jun 2009 02:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15501</guid>
		<description>Jon, I&#039;ve seen the error you have described many times.  Too many times.  

My first line of defense is to uncheck the reference to the refedit control in Tools, References before I release an add-in or macro.  This fixes it about 95% of the time.  However, I get a few users who still have the problem with vba macros not running.  I&#039;ve been 99.99% successful in solving for them by:

1) First, having them run the free Temp File Deleter found at http://www.add-ins.com/temp_file_deleter.htm.  I have them delete all temp files and all the EXD files.  Both are critical steps. Especially the deletion of the EXD files.

2) Reboot and then install all service packes starting with sp1 to spX for the user&#039;s version of Excel.  Technically one should only need to run the latest.  But for some users, running all three is the only cure.

3) Re-run the Temp File Deleter after installing the service packs - very important as it removes the EXD files so the next step is done cleanly.

4) And the last step:  Run a dectect and repair (or Excel 2007 diagnose) after installing the service packs. 

I&#039;ve outline all the steps at http://www.add-ins.com/how_to_repair_office.htm by excel version.

Again, success rate is 99.99%.

Bob Flanagan</description>
		<content:encoded><![CDATA[<p>Jon, I&#8217;ve seen the error you have described many times.  Too many times.  </p>
<p>My first line of defense is to uncheck the reference to the refedit control in Tools, References before I release an add-in or macro.  This fixes it about 95% of the time.  However, I get a few users who still have the problem with vba macros not running.  I&#8217;ve been 99.99% successful in solving for them by:</p>
<p>1) First, having them run the free Temp File Deleter found at <a href="http://www.add-ins.com/temp_file_deleter.htm" rel="nofollow">http://www.add-ins.com/temp_file_deleter.htm</a>.  I have them delete all temp files and all the EXD files.  Both are critical steps. Especially the deletion of the EXD files.</p>
<p>2) Reboot and then install all service packes starting with sp1 to spX for the user&#8217;s version of Excel.  Technically one should only need to run the latest.  But for some users, running all three is the only cure.</p>
<p>3) Re-run the Temp File Deleter after installing the service packs &#8211; very important as it removes the EXD files so the next step is done cleanly.</p>
<p>4) And the last step:  Run a dectect and repair (or Excel 2007 diagnose) after installing the service packs. </p>
<p>I&#8217;ve outline all the steps at <a href="http://www.add-ins.com/how_to_repair_office.htm" rel="nofollow">http://www.add-ins.com/how_to_repair_office.htm</a> by excel version.</p>
<p>Again, success rate is 99.99%.</p>
<p>Bob Flanagan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15493</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15493</guid>
		<description>Bill -

Short of voodoo or alchemy, I doubt there&#039;s a magical fix. The Detect and Repair and Office Diagnostics may be as close as we get, since they&#039;ve been relatively effective.</description>
		<content:encoded><![CDATA[<p>Bill -</p>
<p>Short of voodoo or alchemy, I doubt there&#8217;s a magical fix. The Detect and Repair and Office Diagnostics may be as close as we get, since they&#8217;ve been relatively effective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill McNeese</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15489</link>
		<dc:creator>Bill McNeese</dc:creator>
		<pubDate>Tue, 23 Jun 2009 18:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15489</guid>
		<description>Hi Jon,
Very good summary of the issues related to this error.  I hope someone out there has a magical fix.  But I am afraid not. 

Also, twice in the past, I have had the RefEdits in an add-in just suddenly disappear.  No reason for it that I could see.

Bill</description>
		<content:encoded><![CDATA[<p>Hi Jon,<br />
Very good summary of the issues related to this error.  I hope someone out there has a magical fix.  But I am afraid not. </p>
<p>Also, twice in the past, I have had the RefEdits in an add-in just suddenly disappear.  No reason for it that I could see.</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nurick</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15485</link>
		<dc:creator>John Nurick</dc:creator>
		<pubDate>Tue, 23 Jun 2009 16:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15485</guid>
		<description>Stupid of me. Have never needed to use it before. But have now learnt that it&#039;s not available on a Citrix thing anyway. Presumably because the VM is loaded from a pristine (or &quot;pristine&quot;) image every time. 

I&#039;ve sent the add-in to the helpdesk with a request to try it on a couple of real or virtual computers, and it&#039;s been referred to a guy I know who looks after the Citrix setup. Next thing is to wait and see if he discovers anything. 

Thanks for the help. I&#039;ll post back here if there&#039;s anything worth saying...

john</description>
		<content:encoded><![CDATA[<p>Stupid of me. Have never needed to use it before. But have now learnt that it&#8217;s not available on a Citrix thing anyway. Presumably because the VM is loaded from a pristine (or &#8220;pristine&#8221;) image every time. </p>
<p>I&#8217;ve sent the add-in to the helpdesk with a request to try it on a couple of real or virtual computers, and it&#8217;s been referred to a guy I know who looks after the Citrix setup. Next thing is to wait and see if he discovers anything. </p>
<p>Thanks for the help. I&#8217;ll post back here if there&#8217;s anything worth saying&#8230;</p>
<p>john</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15484</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 23 Jun 2009 16:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15484</guid>
		<description>&lt;em&gt;Does this mean selecting “Open and Repair” in the Excel File Open dialog?&lt;/em&gt;

No: Help menu &gt; Detect and Repair. I don&#039;t know how this will work on a Citrix thing. If you can&#039;t run it, you need to cajole the IT powers that be to do it for you.</description>
		<content:encoded><![CDATA[<p><em>Does this mean selecting “Open and Repair” in the Excel File Open dialog?</em></p>
<p>No: Help menu &gt; Detect and Repair. I don&#8217;t know how this will work on a Citrix thing. If you can&#8217;t run it, you need to cajole the IT powers that be to do it for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nurick</title>
		<link>http://peltiertech.com/WordPress/unspecified-painfully-frustrating-error/comment-page-1/#comment-15482</link>
		<dc:creator>John Nurick</dc:creator>
		<pubDate>Tue, 23 Jun 2009 14:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=2137#comment-15482</guid>
		<description>Thanks for the questions.

&gt;What if you do this on a machine on which the add-in is behaving? What if you 
&gt;clear the reference to RefEdit on one of these machines?

Everything works as normal: I&#039;ve just opened, unlocked, cleared IsAddIn and removed and restored the reference to RefEdit.dll, and then done a Save As. 

Am about to try the unlocked non-Addin on Citrix...

...it opens  but brings up the VBE with the message &quot;Compile error: Object library invalid or contains references to object definitions that could not be found&quot;. The VBE has opened the &quot;This Workbook&quot; module and highlighted the first occurrence of 
       vbCrLF
in the module-level constant declarations - i.e. the first token that (I think) refers to a library and not to the dark VB heart like Option Explicit and Private Const.

In Tools&#124;References, Ref Edit is MISSING as before.  I&#039;ve unticked that reference, used REGSVR32.exe to re-register RefEdit.dll, and set the VBE reference again. Still won&#039;t compile. 


&gt;What happens if you perform a Detect and Repair?

Does this mean selecting &quot;Open and Repair&quot; in the Excel File Open dialog? If so, when I do it to the addin in a Citrix session I just get &quot;compile error in hidden module&quot;. 

Same thing if I try &quot;Open and Repair&quot; with the unlocked non-addin version. 


&gt;Do you have access to an earlier version of Excel (e.g., 2000)?

Not easily. I&#039;d have to look for an old MSDN CD and then set up a VM. No time for that until next week. 

Uggh.</description>
		<content:encoded><![CDATA[<p>Thanks for the questions.</p>
<p>&gt;What if you do this on a machine on which the add-in is behaving? What if you<br />
&gt;clear the reference to RefEdit on one of these machines?</p>
<p>Everything works as normal: I&#8217;ve just opened, unlocked, cleared IsAddIn and removed and restored the reference to RefEdit.dll, and then done a Save As. </p>
<p>Am about to try the unlocked non-Addin on Citrix&#8230;</p>
<p>&#8230;it opens  but brings up the VBE with the message &#8220;Compile error: Object library invalid or contains references to object definitions that could not be found&#8221;. The VBE has opened the &#8220;This Workbook&#8221; module and highlighted the first occurrence of<br />
       vbCrLF<br />
in the module-level constant declarations &#8211; i.e. the first token that (I think) refers to a library and not to the dark VB heart like Option Explicit and Private Const.</p>
<p>In Tools|References, Ref Edit is MISSING as before.  I&#8217;ve unticked that reference, used REGSVR32.exe to re-register RefEdit.dll, and set the VBE reference again. Still won&#8217;t compile. </p>
<p>&gt;What happens if you perform a Detect and Repair?</p>
<p>Does this mean selecting &#8220;Open and Repair&#8221; in the Excel File Open dialog? If so, when I do it to the addin in a Citrix session I just get &#8220;compile error in hidden module&#8221;. </p>
<p>Same thing if I try &#8220;Open and Repair&#8221; with the unlocked non-addin version. </p>
<p>&gt;Do you have access to an earlier version of Excel (e.g., 2000)?</p>
<p>Not easily. I&#8217;d have to look for an old MSDN CD and then set up a VM. No time for that until next week. </p>
<p>Uggh.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
