Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA Calculate Problem

I have a simple two tab (sheet) excel97 file. The first tab contain
report data, the second tab contains summary data
that uses a formula that I created in a standard module.

The situation I have is that when I update the data in the first tab
the data using the formula in the second tab does not autocalculate.

I want to know if there is some procedure I can latch onto and updat
or write a new one from scratch to update the data when the excel fil
is either opened or closed, or after an update occurs
on the first tab. I want to cause the cells in the second tab to b
automatically calculated when a change occurs.

-- Deep Though

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default Excel VBA Calculate Problem

DeepThought < wrote:
I have a simple two tab (sheet) excel97 file. The first tab contains
report data, the second tab contains summary data
that uses a formula that I created in a standard module.

The situation I have is that when I update the data in the first tab,
the data using the formula in the second tab does not autocalculate.

I want to know if there is some procedure I can latch onto and update
or write a new one from scratch to update the data when the excel file
is either opened or closed, or after an update occurs
on the first tab. I want to cause the cells in the second tab to be
automatically calculated when a change occurs.


Add " Application.Volatile = True " to your user defined function.

Regards,
--
Beto
Reply: Erase between the dot (inclusive) and the @.
Responder: Borra la frase obvia y el punto previo.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA Calculate Problem

Application.Volatile True

worked.

Thanks!


---
Message posted from http://www.ExcelForum.com/

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
problem with a function to calculate weighted test score Drew P. Excel Worksheet Functions 2 September 17th 09 12:55 PM
UDF To Calculate Work hours between two dates Problem with code jlclyde Excel Discussion (Misc queries) 4 August 13th 07 06:47 PM
calculate problem in excel Ohmega Excel Worksheet Functions 5 July 8th 05 12:06 AM
Problem to calculate cells Ben.c Excel Programming 2 December 29th 03 10:16 AM
excel calculate problem, (try to refer to defined names?) CornElvis Excel Programming 1 November 18th 03 03:55 AM


All times are GMT +1. The time now is 10:49 AM.

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"