Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Creating a Macro for refreshing data in a columns

Is there a easier way of refreshing formula data of a macro in a
column. I can do this manually, but does take a great length of time in
doing so. Is there a VB code of doing this macro, which would make life
easier.

many thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Creating a Macro for refreshing data in a columns

What do you mean by refreshing formula data. Do you mean generate a
calculate? If so, VB doesn't really affect how long it takes to calculate a
sheet. That is more a design issue and the formulas you are using. Perhaps
a clearer statement of the problem would be beneficial.

--
Regards,
Tom Ogilvy


" wrote:

Is there a easier way of refreshing formula data of a macro in a
column. I can do this manually, but does take a great length of time in
doing so. Is there a VB code of doing this macro, which would make life
easier.

many thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Creating a Macro for refreshing data in a columns

I have two formulas that need to be updated. One is a worksheet change
method that updated colours of a cell and a MAX function that would
retrieved the highest value from another cell. So I am looking for help
on implementing a VB module code of a macro that would refresh or
update these formulas.

Regards

Imran



Tom Ogilvy wrote:
What do you mean by refreshing formula data. Do you mean generate a
calculate? If so, VB doesn't really affect how long it takes to calculate a
sheet. That is more a design issue and the formulas you are using. Perhaps
a clearer statement of the problem would be beneficial.

--
Regards,
Tom Ogilvy


" wrote:

Is there a easier way of refreshing formula data of a macro in a
column. I can do this manually, but does take a great length of time in
doing so. Is there a VB code of doing this macro, which would make life
easier.

many thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Creating a Macro for refreshing data in a columns

The change event is fired when a cell is edited or received input via DDE.
So you code would need to edit a cell that will cause your change event to
perform the desired action.

A formula is updated by a calculation. You can do

Application.Calculate

to force a calculation.

--
Regards,
Tom Ogilvy


" wrote:

I have two formulas that need to be updated. One is a worksheet change
method that updated colours of a cell and a MAX function that would
retrieved the highest value from another cell. So I am looking for help
on implementing a VB module code of a macro that would refresh or
update these formulas.

Regards

Imran



Tom Ogilvy wrote:
What do you mean by refreshing formula data. Do you mean generate a
calculate? If so, VB doesn't really affect how long it takes to calculate a
sheet. That is more a design issue and the formulas you are using. Perhaps
a clearer statement of the problem would be beneficial.

--
Regards,
Tom Ogilvy


" wrote:

Is there a easier way of refreshing formula data of a macro in a
column. I can do this manually, but does take a great length of time in
doing so. Is there a VB code of doing this macro, which would make life
easier.

many thanks




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
Creating separate graphs for columns of data MelissaAnn72 Charts and Charting in Excel 1 April 27th 10 03:19 AM
creating mutilple columns from one column of data Tracy Excel Discussion (Misc queries) 3 February 4th 09 10:46 AM
Refreshing external data breaks sorting of function columns BNick Excel Discussion (Misc queries) 0 October 2nd 06 06:46 PM
Creating a Macro for refreshing data in a columns [email protected] Excel Programming 0 August 21st 06 12:59 PM
Creating a Macro to Chart two columns Diane Excel Programming 3 May 3rd 05 09:11 PM


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