ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find all non blank cells (https://www.excelbanter.com/excel-programming/388317-re-find-all-non-blank-cells.html)

Ron de Bruin

Find all non blank cells
 
See you other thread

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"chaves" wrote in message ...
I have code that kicks off when a worksheet is activated:

Private Sub Worksheet_Activate()
For Each c In ActiveSheet.UsedRange
If c.Value < "" Then
CheckValue
End If
Next
End Sub


This works, but takes a few minutes to run, even though there are only
rougly 200 cells with values (the CheckValue sub is tiny) - any suggestions
how to speed this up?

Thank you all!

Andrew



All times are GMT +1. The time now is 12:32 PM.

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