Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel 2003 VBA Phantom Breakpoints

Excel 2003
VBA Macro

Anybody run into a phanton breakpoint in Excel?
The code stops without an error. Hit continue and the code finishes w/o
error.

I have run into this in MSA and had to decompile. Is there a way to
decompile Excel?

Regards,
Todd



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Excel 2003 VBA Phantom Breakpoints

You probably need to force VBA to purge out its internal code storage
areas. This involves exporting all your modules to text files,
removing the module itself and then importing the text files. This
cures many problems related to VBA editing and execution. The whole
export/import operation can be reduce to a mouse click using Rob
Bovey's Code Cleaner add-in. Go to
http://www.appspro.com/Utilities/CodeCleaner.htm and download and
install it. It is a must-have add-in for serious developers.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Thu, 4 Feb 2010 17:08:48 -0500, "Todd Heiks"
<Todd.Heiks_AT_NoSpam_GreatLakesWindow.com wrote:

Excel 2003
VBA Macro

Anybody run into a phanton breakpoint in Excel?
The code stops without an error. Hit continue and the code finishes w/o
error.

I have run into this in MSA and had to decompile. Is there a way to
decompile Excel?

Regards,
Todd


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Excel 2003 VBA Phantom Breakpoints

know if it works with x64? i know mztools and indenter don't.

--


Gary Keramidas
Excel 2003


"Chip Pearson" wrote in message
...
You probably need to force VBA to purge out its internal code storage
areas. This involves exporting all your modules to text files,
removing the module itself and then importing the text files. This
cures many problems related to VBA editing and execution. The whole
export/import operation can be reduce to a mouse click using Rob
Bovey's Code Cleaner add-in. Go to
http://www.appspro.com/Utilities/CodeCleaner.htm and download and
install it. It is a must-have add-in for serious developers.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Thu, 4 Feb 2010 17:08:48 -0500, "Todd Heiks"
<Todd.Heiks_AT_NoSpam_GreatLakesWindow.com wrote:

Excel 2003
VBA Macro

Anybody run into a phanton breakpoint in Excel?
The code stops without an error. Hit continue and the code finishes w/o
error.

I have run into this in MSA and had to decompile. Is there a way to
decompile Excel?

Regards,
Todd



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel 2003 VBA Phantom Breakpoints

No Joy.

I seem to remember having this trouble on another spreadsheet that started
as an ascii import as this one did.
Could that have something to do with it?

I am having trouble in XP - Office 2003 box, but I just opened it on a
Win7 - Office 2007 machine and had no issues.

Any ideas? (Besides the obvious . . . Dump the XP box)


Regards,
Todd



"Chip Pearson" wrote in message
...
You probably need to force VBA to purge out its internal code storage
areas. This involves exporting all your modules to text files,
removing the module itself and then importing the text files. This
cures many problems related to VBA editing and execution. The whole
export/import operation can be reduce to a mouse click using Rob
Bovey's Code Cleaner add-in. Go to
http://www.appspro.com/Utilities/CodeCleaner.htm and download and
install it. It is a must-have add-in for serious developers.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Thu, 4 Feb 2010 17:08:48 -0500, "Todd Heiks"
<Todd.Heiks_AT_NoSpam_GreatLakesWindow.com wrote:

Excel 2003
VBA Macro

Anybody run into a phanton breakpoint in Excel?
The code stops without an error. Hit continue and the code finishes w/o
error.

I have run into this in MSA and had to decompile. Is there a way to
decompile Excel?

Regards,
Todd




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random phantom breakpoints and random bogus compile errors Greg Lovern Excel Programming 5 June 2nd 10 03:52 PM
breakpoints QB Excel Programming 0 November 27th 09 03:37 PM
VBA Imaginary Breakpoints Error VBA Imaginary Breakpoints Error Excel Programming 0 October 30th 07 08:34 PM
VBE - Breakpoints and Bookmarks LIsa Excel Programming 1 March 22nd 07 03:51 PM
FYI - VBE Breakpoints Skipped due to Conditional Format David Sauder Excel Programming 0 July 22nd 03 06:43 AM


All times are GMT +1. The time now is 08:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"