Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default How do I just update values on several cells (not the entire works

Hi all,
I have a worksheet contents 1 data sheet and 2 charts on sheet2, and
sheet3.

On the data sheet, I used a 3rd party add-in to generate some data. A
couple cells on that sheet will then be calculated based on the values
obtained from the plug-in. I can update everything by hitting F9, but since
that updating the data using plug in takes forever, I'd be better off just to
click each cell to trig that to update. I am wondering if there is a way
(using code) to just update the selected few cells, and the 2 charts but not
the rest of the cells in the workbook.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default How do I just update values on several cells (not the entire works

"Jeff" wrote:
On the data sheet, I used a 3rd party add-in to generate some data. A
couple cells on that sheet will then be calculated based on the values
obtained from the plug-in. I can update everything by hitting F9, but since
that updating the data using plug in takes forever, I'd be better off just to
click each cell to trig that to update. I am wondering if there is a way
(using code) to just update the selected few cells, and the 2 charts but not
the rest of the cells in the workbook.


So you've got AutoCalculation turned off and you want to recalculate
specific cells?

Ranges (and Cells, since Cells are Ranges, too) have a Calculate method.

One cell at a time: for the cell in row rowindex and column columnindex:

Worksheets(sheetname).Cells(rowindex, columnindex).Calculate

For a range that includes C12 to C15 and D16 to D19:

Worksheets(sheetname).Range("C12:C15,D16:D19").Cal culate


When you recalc the cells, the tables should update automatically.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default How do I just update values on several cells (not the entire w

When you recalc the cells, the tables should update automatically.

Charts... the charts should update automatically.
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
Possible to change/update values in range of cells by X% ? Tom McLean Excel Discussion (Misc queries) 10 March 18th 10 05:30 PM
combine 111 in one column & .jpg in another thru out entire works Ms.Faye. Excel Worksheet Functions 1 May 11th 06 03:36 PM
Linking cells: open source to update values zimon72 Excel Discussion (Misc queries) 2 January 19th 06 07:21 AM
How does one update and transfer values between cells and not the. JC Excel Discussion (Misc queries) 2 January 13th 05 07:15 PM
How does one update and transfer values between cells and not the. JC Excel Discussion (Misc queries) 0 January 12th 05 08:29 PM


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