PC Review


Reply
Thread Tools Rate Thread

Calculation Satus for a Sheet

 
 
=?Utf-8?B?c2hlbDI2OQ==?=
Guest
Posts: n/a
 
      26th Jul 2007
Hi, i was wondering if anyone know then code to check is a sheet has the
calculation status set to xlDone.

I dont want the application.CalculationStatus -> its for the whole workbook.
I need it for a sheet only.

thanks in advance.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?SGFsaW0=?=
Guest
Posts: n/a
 
      27th Jul 2007
Hi,

I'm not sure that you're using xl2003 or xl2007 ?,

but maybe this one is the trigger:
Dim Xstat
Private Sub Worksheet_Activate()
Xstat = Application.CalculationStatus
Application.CalculationStatus = xlDone
End Sub

Private Sub Worksheet_Deactivate()
Application.CalculationStatus = Xstat
End Sub

place both sub in worksheet event module.

--
Regards,

Halim



"shel269" wrote:

> Hi, i was wondering if anyone know then code to check is a sheet has the
> calculation status set to xlDone.
>
> I dont want the application.CalculationStatus -> its for the whole workbook.
> I need it for a sheet only.
>
> thanks in advance.
>
>

 
Reply With Quote
 
=?Utf-8?B?SGFsaW0=?=
Guest
Posts: n/a
 
      27th Jul 2007
But actualy I never found that property in my xl 2003, I just guess that's a
readonly property of an xl that running, maybe xl doesnt store that constant
as a registry entry or other database...

So, we never found that property that readonly.
--
Regards,

Halim



"Halim" wrote:

> Hi,
>
> I'm not sure that you're using xl2003 or xl2007 ?,
>
> but maybe this one is the trigger:
> Dim Xstat
> Private Sub Worksheet_Activate()
> Xstat = Application.CalculationStatus
> Application.CalculationStatus = xlDone
> End Sub
>
> Private Sub Worksheet_Deactivate()
> Application.CalculationStatus = Xstat
> End Sub
>
> place both sub in worksheet event module.
>
> --
> Regards,
>
> Halim
>
>
>
> "shel269" wrote:
>
> > Hi, i was wondering if anyone know then code to check is a sheet has the
> > calculation status set to xlDone.
> >
> > I dont want the application.CalculationStatus -> its for the whole workbook.
> > I need it for a sheet only.
> >
> > thanks in advance.
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
vista backup satus configuration Joe Windows Vista Performance 0 20th Feb 2009 12:37 AM
Upload Satus Bar =?Utf-8?B?SmFjb2JfRl9Sb2Vja2Vy?= Microsoft Frontpage 4 11th Sep 2005 08:35 PM
satus bar Windows XP Internet Explorer 2 11th Nov 2003 11:51 AM
Satus cannot be changed error-Help Russell Durose Windows XP Messenger 0 1st Nov 2003 04:35 PM
Number Lock Satus at startup Mike Microsoft Windows 2000 5 28th Jul 2003 04:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.