Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculate active sheet on sheet selection


Hello.

I wonder how I manage to do a script that automaticaly recalculates the
current sheet on activation. I have several sheets and I want either of
them to recalculate on activation.

I have a script that copies the sheet name into one cell but it doesn't
want to recalulate when I change to an exact copy of the sheet.

I have turned off automatic calculation but the workbook I'm creating
is for several people that don't know of the F9 button.

Please help. I guess it's quite easy.

/Anders


--
a94andwi
------------------------------------------------------------------------
a94andwi's Profile: http://www.excelforum.com/member.php...o&userid=21077
View this thread: http://www.excelforum.com/showthread...hreadid=470781

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Calculate active sheet on sheet selection

You can use Application.Calculate (or just Calculate)

Check out:
http://msdn.microsoft.com/library/de...HV05199622.asp

Maybe you have to declare it Dirty first:
http://msdn.microsoft.com/library/de...HV03080674.asp

You can do this in the Workbook_Activate() or Workbook_Open function.

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
Copy sheet and make new sheet active belvy123 Excel Discussion (Misc queries) 5 April 24th 08 03:33 PM
Active Cell Copy And Paste Sheet to Sheet A.R.J Allan Jefferys New Users to Excel 4 May 4th 06 02:04 AM
Save As selection in Active Sheet gaba Excel Programming 4 September 7th 05 02:36 PM
Cell selection in non-active sheet Otto Moehrbach[_6_] Excel Programming 1 July 16th 04 05:16 PM
Determining the Selection on a non-active Sheet? Jim S.[_4_] Excel Programming 2 April 17th 04 03:59 AM


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