Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default ActiveSheet.Calculate not calculating

I am using ActiveSheet.Calculate in a Macro to calculate the activesheet. The
Macro has 400lines and every line is perfectly exceuted.

One Worksheet has complex Index formula (array function) that refers to a
large database of 30000 lines.

After the Macro execution , I find the sheet has not been calculated. I had
to manually do it using Shift+F9.

Wht is it happening
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default ActiveSheet.Calculate not calculating

Does the command work if you insert:
DoEvents
after it?
--
Gary''s Student - gsnu200846


"Ananth" wrote:

I am using ActiveSheet.Calculate in a Macro to calculate the activesheet. The
Macro has 400lines and every line is perfectly exceuted.

One Worksheet has complex Index formula (array function) that refers to a
large database of 30000 lines.

After the Macro execution , I find the sheet has not been calculated. I had
to manually do it using Shift+F9.

Wht is it happening

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default ActiveSheet.Calculate not calculating

I'd start by looking at Charles Williams' site:
http://www.decisionmodels.com/calcsecretsh.htm

Maybe it's working correctly, just not the way you want.

If I saw that, then I'd use application.calculate or .calculatefull or
..calculatefullrebuild or whatever I needed to make sure that my data was ok.

Ananth wrote:

I am using ActiveSheet.Calculate in a Macro to calculate the activesheet. The
Macro has 400lines and every line is perfectly exceuted.

One Worksheet has complex Index formula (array function) that refers to a
large database of 30000 lines.

After the Macro execution , I find the sheet has not been calculated. I had
to manually do it using Shift+F9.

Wht is it happening


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default ActiveSheet.Calculate not calculating

Thanks very much for the hint. Yes, it started recalculating after I used
Worksheets("Tabname").calculate

Ananth

"Dave Peterson" wrote:

I'd start by looking at Charles Williams' site:
http://www.decisionmodels.com/calcsecretsh.htm

Maybe it's working correctly, just not the way you want.

If I saw that, then I'd use application.calculate or .calculatefull or
..calculatefullrebuild or whatever I needed to make sure that my data was ok.

Ananth wrote:

I am using ActiveSheet.Calculate in a Macro to calculate the activesheet. The
Macro has 400lines and every line is perfectly exceuted.

One Worksheet has complex Index formula (array function) that refers to a
large database of 30000 lines.

After the Macro execution , I find the sheet has not been calculated. I had
to manually do it using Shift+F9.

Wht is it happening


--

Dave Peterson

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
Can't get ActiveSheet to work... [email protected] Excel Discussion (Misc queries) 2 August 16th 07 06:12 PM
ActiveSheet.Paste (error) Puzzled Excel Worksheet Functions 1 August 2nd 07 06:18 PM
ActiveCell or ActiveSheet Launchnet Excel Worksheet Functions 1 July 20th 07 07:46 PM
ActiveSheet.Paste - Error help? dk_ Excel Discussion (Misc queries) 4 November 20th 06 12:27 AM
Waiting for "Calculating Cells" when there is little to calculate v-deocke Excel Discussion (Misc queries) 3 May 12th 05 08:22 PM


All times are GMT +1. The time now is 12:39 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"