LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 113
Default Application.Calculation = -4105 behaving strangely

Hi there, I have a set of macros that run and then I need to turn calc back
on. This all worked fine until I introduced a UserForm (that I use to control
the flow of the work and for monitoring). Now, whenever I execute
Application.Calculation = -4105
either by a code line or into the immediate window Excel hangs for anything
up to 3 or 4 minutes (the status bar says "Calculating Cells 100%) and then
the hourglass comes up and Excel is completely frozen. From there the only
way out is to crash it through the Task Manager.

BTW, the UserForm is brought up with Show 0 so that it's modal.

Oddly enough, sometimes it just requires me to activate the Task Manager,
and I can then go back to the spreadsheet and continue working.

Even more odd is that in the immediate window I can either calculate a sheet
or just do Calculate and it only takes a moment (as you would expect).

What can cause this behaviour (anything to do with UserForms?) and how can I
solve it please? Regards, Brett.
 
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
my arrow keys are behaving strangely Missing Pieces New Users to Excel 1 November 10th 08 08:22 PM
VLookup behaving strangely.. John Bundy Excel Programming 0 January 11th 07 05:33 PM
Excel is behaving strangely for no apparent reason. canyondude New Users to Excel 4 January 10th 06 12:07 AM
Validation list behaving strangely in 2003 Danny J Excel Worksheet Functions 2 December 8th 04 08:00 AM
Checkbox behaving strangely Shilps Excel Programming 8 April 20th 04 08:40 AM


All times are GMT +1. The time now is 03:59 PM.

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"