Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Made the mistake to run the freeware program Smart Indenter before checking
all the code is fine with a compile.
Result is the Smart indenter progress bar is stuck and
the VBE is frozen. Unless I can get this unstuck without
closing the VBE I will lose about an hour of work.

Any suggestions?

Any help greatly appreciated here!

RBS

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default URGENT, Stuck Smart Indenter

Hi RBS,

I have no answer, merely a comment.

If you refer to Stephen Bullen's Smart Indenter, I use it continually and I
have never felt (or had) the need to pre-compile code. Indeed, it is
frequently a most useful aid on uncompiled development code.

Furthermore, I have never experienced any problem with the indenter no
matter how complex the code, no matter how 'unreasonable' the code and no
matter how intrinsically uncompilable the code.


---
Regards,
Norman



"RB Smissaert" wrote in message
...
Made the mistake to run the freeware program Smart Indenter before
checking all the code is fine with a compile.
Result is the Smart indenter progress bar is stuck and
the VBE is frozen. Unless I can get this unstuck without
closing the VBE I will lose about an hour of work.

Any suggestions?

Any help greatly appreciated here!

RBS



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Hi Norman,

Yes it is Stephen Bullen's Smart Indenter.
Well, tried all kind of complex things (including messing with a C++
debugger) to get out without
losing the work, but in the end I just gave up and killed Excel.
I have seen this many times, that is freezing up the indenter, but I did a
search for it and never seen anybody
else mentioning it. Maybe it is because I am dealing with a really big .xla
add-in, over 4 Mb.
I was only indenting one Sub though.
I have now updated to the latest version, but even my previous version was
quite recent.
Will see if I can reproduce and if anybody is interested in it I can post
the workbook.
Maybe it is relevant that there are other COM add-ins installed such as MZ
Tools.

RBS


"Norman Jones" wrote in message
...
Hi RBS,

I have no answer, merely a comment.

If you refer to Stephen Bullen's Smart Indenter, I use it continually and
I have never felt (or had) the need to pre-compile code. Indeed, it is
frequently a most useful aid on uncompiled development code.

Furthermore, I have never experienced any problem with the indenter no
matter how complex the code, no matter how 'unreasonable' the code and no
matter how intrinsically uncompilable the code.


---
Regards,
Norman



"RB Smissaert" wrote in message
...
Made the mistake to run the freeware program Smart Indenter before
checking all the code is fine with a compile.
Result is the Smart indenter progress bar is stuck and
the VBE is frozen. Unless I can get this unstuck without
closing the VBE I will lose about an hour of work.

Any suggestions?

Any help greatly appreciated here!

RBS




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default URGENT, Stuck Smart Indenter

Hi RB,

Well, tried all kind of complex things (including messing with a C++
debugger) to get out without
losing the work, but in the end I just gave up and killed Excel.
I have seen this many times, that is freezing up the indenter, but I did a
search for it and never seen anybody
else mentioning it. Maybe it is because I am dealing with a really big .xla
add-in, over 4 Mb.
I was only indenting one Sub though.
I have now updated to the latest version, but even my previous version was
quite recent.
Will see if I can reproduce and if anybody is interested in it I can post
the workbook.
Maybe it is relevant that there are other COM add-ins installed such as MZ
Tools.


While pretty robust, there are, I'm sure, bugs in the code - something that it
simply doesn't handle (probably to do with line continuations!). I'm always
willing to take a look at code that makes the indenter freeze and fix it.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Stephen,

Thanks; I will see if I can put together a small workbook that demonstrates
it and mail it to you. I think the problem only arises when the code is
un-compilable.

RBS


"Stephen Bullen" wrote in message
...
Hi RB,

Well, tried all kind of complex things (including messing with a C++
debugger) to get out without
losing the work, but in the end I just gave up and killed Excel.
I have seen this many times, that is freezing up the indenter, but I did
a
search for it and never seen anybody
else mentioning it. Maybe it is because I am dealing with a really big
.xla
add-in, over 4 Mb.
I was only indenting one Sub though.
I have now updated to the latest version, but even my previous version
was
quite recent.
Will see if I can reproduce and if anybody is interested in it I can post
the workbook.
Maybe it is relevant that there are other COM add-ins installed such as
MZ
Tools.


While pretty robust, there are, I'm sure, bugs in the code - something
that it
simply doesn't handle (probably to do with line continuations!). I'm
always
willing to take a look at code that makes the indenter freeze and fix it.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Stephen,

Would it not be possible to add an error handler that at least won't let you
lose the changes?

RBS


"Stephen Bullen" wrote in message
...
Hi RB,

Well, tried all kind of complex things (including messing with a C++
debugger) to get out without
losing the work, but in the end I just gave up and killed Excel.
I have seen this many times, that is freezing up the indenter, but I did
a
search for it and never seen anybody
else mentioning it. Maybe it is because I am dealing with a really big
.xla
add-in, over 4 Mb.
I was only indenting one Sub though.
I have now updated to the latest version, but even my previous version
was
quite recent.
Will see if I can reproduce and if anybody is interested in it I can post
the workbook.
Maybe it is relevant that there are other COM add-ins installed such as
MZ
Tools.


While pretty robust, there are, I'm sure, bugs in the code - something
that it
simply doesn't handle (probably to do with line continuations!). I'm
always
willing to take a look at code that makes the indenter freeze and fix it.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Stephen,

Will see if I can send you a WB today.

RBS

"Stephen Bullen" wrote in message
...
Hi RB,

Would it not be possible to add an error handler that at least won't let
you
lose the changes?


I'm guessing that there's an infinite loop somewhere - probably in the
routine
that handles the line continuations. It'll be easiest for me to identify
where
with some sample repro code.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default URGENT, Stuck Smart Indenter

Hi RB,

Would it not be possible to add an error handler that at least won't let you
lose the changes?


I'm guessing that there's an infinite loop somewhere - probably in the routine
that handles the line continuations. It'll be easiest for me to identify where
with some sample repro code.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev


  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default URGENT, Stuck Smart Indenter

Stephen,

This is not easy to reproduce.
I am not sure if this is because I have installed a newer version or because
the indenter only freezes after you have
made a lot of changes.
The trouble is even if I can reproduce it I can't show you the code as the
changes are lost with the frozen indenter.
Will let you know if I can show it.

RBS


"Stephen Bullen" wrote in message
...
Hi RB,

Would it not be possible to add an error handler that at least won't let
you
lose the changes?


I'm guessing that there's an infinite loop somewhere - probably in the
routine
that handles the line continuations. It'll be easiest for me to identify
where
with some sample repro code.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev



  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default URGENT, Stuck Smart Indenter

Hi RB,

This is not easy to reproduce.
I am not sure if this is because I have installed a newer version or because
the indenter only freezes after you have
made a lot of changes.
The trouble is even if I can reproduce it I can't show you the code as the
changes are lost with the frozen indenter.
Will let you know if I can show it.


Thanks!

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev


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
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
Invest smart Mr. Buck Setting up and Configuration of Excel 0 February 2nd 08 09:59 PM
Urgent-Urgent VBA LOOP Jeff Excel Discussion (Misc queries) 0 October 6th 05 05:46 PM
Macro help urgent urgent Dave Peterson[_3_] Excel Programming 0 September 4th 03 03:59 PM
Macro help urgent urgent chandra Excel Programming 0 September 4th 03 03:50 PM


All times are GMT +1. The time now is 03:56 AM.

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

About Us

"It's about Microsoft Excel"