Thread: screen updating
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Piotr Lipski Piotr Lipski is offline
external usenet poster
 
Posts: 36
Default screen updating

On Thu, 22 Jun 2006 02:45:35 -0500, miikka1978 wrote:

[...]

Replace:

Range("RESULTS").Select
Selection.ClearContents


with:

Range("RESULTS").ClearContents

and replace:

[...]
Range("NPV").Select
Calculate
Cells(counter + 3, 16).Value = ActiveCell.Value

[...]

with:

Calculate
Cells(counter + 3, 16).Value = Range("NPV").Value

This won't affect the Selection object so this is probably what you want.

--
PL