Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's an easy one for somebody.
My code currently cycles through a column in a worksheet and removes unwanted characters, like this: For Each Cell In mySheet.Range("A2:A" & mySheet.Range ("A65536").End(xlUp).Row) If Left(Cell, 1) = "=" Or _ Left(Cell, 1) = "-" Or _ Left(Cell, 1) = "+" Or Then Cell.Value = "'" & Cell.Value End If Next Cell Problem is that if the worksheet has several thousand records this code could take minutes. Is there a way to apply this to the entire range at once instead of cycling the range? tod |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I apply formula to entire column | Excel Discussion (Misc queries) | |||
HOW DO I APPLY A FORMULA FOR AND ENTIRE ROW? | Excel Worksheet Functions | |||
How do I apply my function to the entire column? | Excel Discussion (Misc queries) | |||
I want to apply a formula to an entire column. | Excel Discussion (Misc queries) | |||
I would like to apply the same calculation to an entire row | Excel Worksheet Functions |