ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   worksheet calculate - how to run it line by line? (https://www.excelbanter.com/excel-programming/333657-worksheet-calculate-how-run-line-line.html)

bondcrash

worksheet calculate - how to run it line by line?
 

hi all

I have a Worksheet calculate that I need to run line by line (there i
an error somewhere). how can i do it?

Many thanks

B

--
bondcras
-----------------------------------------------------------------------
bondcrash's Profile: http://www.excelforum.com/member.php...fo&userid=2099
View this thread: http://www.excelforum.com/showthread.php?threadid=38460


Norman Jones

worksheet calculate - how to run it line by line?
 
Hi Bondcrash,


With calculation set to manual, try:

Sub Tester()
Dim i As Long

For i = 1 To ActiveSheet.UsedRange.Rows.Count
Rows(i).Cells.Calculate
Next

End Sub

---
Regards,
Norman



"bondcrash" wrote
in message ...

hi all

I have a Worksheet calculate that I need to run line by line (there is
an error somewhere). how can i do it?

Many thanks

BC


--
bondcrash
------------------------------------------------------------------------
bondcrash's Profile:
http://www.excelforum.com/member.php...o&userid=20997
View this thread: http://www.excelforum.com/showthread...hreadid=384600




bondcrash[_2_]

worksheet calculate - how to run it line by line?
 

cheers Norma

--
bondcras
-----------------------------------------------------------------------
bondcrash's Profile: http://www.excelforum.com/member.php...fo&userid=2099
View this thread: http://www.excelforum.com/showthread.php?threadid=38460



All times are GMT +1. The time now is 03:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com