#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default activate macro

I have 2 worksheets open at once, I want to update one particular worksheet
everytime that I click on it. Is their a way to do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default activate macro

Hi Jase,

By update I presume you mean recalculate. If the two files refer to each
other and there are no external references to closed workbooks, the files
will update automatically unless you are in manual recalc mode. If that is
the case then add the following code to the thisWorkbook object in the Visual
Basic Editior for both files:

Private Sub Workbook_Activate()
Application.Calculate
End Sub
--

Cheers,
Shane Devenshire


"Jase" wrote:

I have 2 worksheets open at once, I want to update one particular worksheet
everytime that I click on it. Is their a way to do that?

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
Worksheet- activate macro sarah Excel Discussion (Misc queries) 3 March 21st 07 04:44 PM
activate macro only in sheet2 Narkom Excel Worksheet Functions 3 March 20th 06 09:21 PM
activate a cell value through a macro TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 10th 05 08:48 AM
Formula to activate macro coal_miner Excel Worksheet Functions 5 September 20th 05 04:56 AM
Ways to activate a macro eddied Excel Discussion (Misc queries) 2 February 7th 05 07:00 AM


All times are GMT +1. The time now is 09:41 PM.

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

About Us

"It's about Microsoft Excel"