Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That should be the fastest way. Make sure you don't have pagebreaks
visible. -- Regards, Tom Ogilvy "trickdos" wrote in message ... Hey all, Thanks for your help. I have a workbook with 2 sheets with 24,000 rows and 10 columns of data, and I need to do a find and replace for all "#Missing" values and return an empty cell. This takes forever. Is there anyway to optimize the macro to run much faster? Application.ScreenUpdating = False With Application Calculation = xlManual End With Sheets("Version 1").Select Cells.Replace What:=" ", Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByColumns ActiveWorkbook.PrecisionAsDisplayed = False With Application Calculation = xlAutomatic MaxChange = 0.001 End With ActiveWorkbook.PrecisionAsDisplayed = False Application.ScreenUpdating = True -- trickdos ------------------------------------------------------------------------ trickdos's Profile: http://www.excelforum.com/member.php...fo&userid=9405 View this thread: http://www.excelforum.com/showthread...hreadid=277560 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to Find & Replace | Excel Worksheet Functions | |||
Macro: Find and replace | Excel Discussion (Misc queries) | |||
optimizing a macro | Excel Programming | |||
find and replace macro need help | Excel Programming | |||
A Macro to Do Find and Replace | Excel Programming |