Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have the following code: xlSheet.Range['AJ1', EmptyParam].Value:='Days Lost'; xlSheet.Range['AJ2',EmptyParam].Formula:='=NETWORKDAYS(AH2,AI2,BankHols!$A$2:$A$5 00)'; xlSheet.Range['AJ2',EmptyParam].AutoFill(xlSheet.Range['AJ2:AJ'+IntToStr(kount),EmptyParam],xlFillCopy); The third line above is very quick to execute but Excel then takes a long time to do the calculation. How can I make sure that the entire worksheet has been calculated before I move onto the next step? Nirmal |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automation of YTD calculation | Excel Worksheet Functions | |||
forcing UDF to run | Excel Worksheet Functions | |||
Forcing Automatic Calculation | Excel Programming | |||
forcing complete calculation | Excel Programming | |||
Forcing a FileSaveAs | Excel Programming |