Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Spreadsheet calculation problem

I have a workbook with multiple sheets. Two of the sheets each have a
different VBA function in several Cells. When I switch between the sheets,
the values returned by the function are gone and a "Calculate" has to be
done. I have Application.Volatile turned on, otherwise I have PF9 everytime.

How can I preserve the value when I switch between sheets?

Thank you....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Spreadsheet calculation problem


"Bruce A. Julseth" wrote in message
...
I have a workbook with multiple sheets. Two of the sheets each have a
different VBA function in several Cells. When I switch between the sheets,
the values returned by the function are gone and a "Calculate" has to be
done. I have Application.Volatile turned on, otherwise I have PF9
everytime.

How can I preserve the value when I switch between sheets?

Thank you....


I haven't gotten a response to my problem yet and can help but wonder why?

1. Is the answer so obvious no one wants to take the time to answer? Not to
me!
2. Is it ambiguous? If so, tell me why and I'll be happy enhance the query.
3. No one knows!! I doubt that. A lot of you guy's are super sharp!!
4. Or something else.

Appreciate some kind of feedback.

Thanks......


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Spreadsheet calculation problem

"Gone" means what?

Values disappear or?

Any event code behind the sheets like Activate or Deactivate events?

Post the Functions and where they are entered on the sheets.


Gord Dibben MS Excel MVP

On Wed, 2 Dec 2009 13:03:03 -0500, "Bruce A. Julseth"
wrote:


"Bruce A. Julseth" wrote in message
...
I have a workbook with multiple sheets. Two of the sheets each have a
different VBA function in several Cells. When I switch between the sheets,
the values returned by the function are gone and a "Calculate" has to be
done. I have Application.Volatile turned on, otherwise I have PF9
everytime.

How can I preserve the value when I switch between sheets?

Thank you....


I haven't gotten a response to my problem yet and can help but wonder why?

1. Is the answer so obvious no one wants to take the time to answer? Not to
me!
2. Is it ambiguous? If so, tell me why and I'll be happy enhance the query.
3. No one knows!! I doubt that. A lot of you guy's are super sharp!!
4. Or something else.

Appreciate some kind of feedback.

Thanks......


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Spreadsheet calculation problem

Thank you for the response.

Gone means that cells that should have data in them are blank. The values
disappear. Recalulation happens when I switch since I have
Application.Volitile in the sheet and the values reappear. My question is
"Is there a way to stop them from disappearing so that the recalcuation
doesn't have to happen.

Each sheet has a function and two event handlers. The functions are
dependent upon data previously entered on the sheet and both are "almost"
then same. I'd have to send you the complete workbook for you to see them
operate. The following is one of the functions and the event handlers for
one of the sheets.

I have sent the spreadsheet directly to your id..


  #5   Report Post  
Junior Member
 
Posts: 1
Default

Well I deserve $50 for registering on this (&^%$$ system. May be I am having a bad day.

Your vba code probably refers to Activesheet. When you recalculate you are probably on another sheet. Pass a variable and use variable.worksheet

Cheers

Adam


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
XML Spreadsheet and Calculation Mode Cedric Excel Programming 0 October 20th 09 01:57 PM
Slight Difference in Calculation Between Spreadsheet and VBA Clint Schwartz Excel Discussion (Misc queries) 4 January 10th 07 05:48 PM
Looking for Mortgage Calculation Spreadsheet Anonymous Excel Discussion (Misc queries) 2 September 20th 06 03:24 PM
Slow Calculation speeds in big spreadsheet MichaelC Excel Worksheet Functions 1 March 16th 06 08:47 PM
Calculation of records on spreadsheet Les Stout Excel Programming 2 March 2nd 04 08:18 AM


All times are GMT +1. The time now is 03:13 AM.

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"