Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Search and Replace Blank Cells

Hello

i have been able to search and replace for #N/A:

Cells.Replace What:="#N/A", Replacement:=0, LookAt:=xlWhole,
MatchCase:=False

But I am not clear how to do the same for Blank or empty cells.

Any suggestions?

Thank you

W

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Search and Replace Blank Cells

What do you want to replace them with? In short, what do you want to do?
HTH Otto
"wpw3" wrote in message
oups.com...
Hello

i have been able to search and replace for #N/A:

Cells.Replace What:="#N/A", Replacement:=0, LookAt:=xlWhole,
MatchCase:=False

But I am not clear how to do the same for Blank or empty cells.

Any suggestions?

Thank you

W



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Search and Replace Blank Cells

Maybe...
Cells.Replace What:="", Replacement:=0, LookAt:=xlWhole, MatchCase:=False



wpw3 wrote:

Hello

i have been able to search and replace for #N/A:

Cells.Replace What:="#N/A", Replacement:=0, LookAt:=xlWhole,
MatchCase:=False

But I am not clear how to do the same for Blank or empty cells.

Any suggestions?

Thank you

W


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Replace blank cells Newsgal Excel Discussion (Misc queries) 1 August 31st 06 07:13 PM
Removing leading single quote (') from cells with Search/Replace Arun Excel Discussion (Misc queries) 3 January 22nd 06 03:40 AM
Replace cells with blank diggers Excel Worksheet Functions 1 November 17th 05 12:23 AM
Replace cells with blank Elkar Excel Worksheet Functions 0 November 16th 05 10:21 PM
How can I replace a range of blank cells with a 0 Replacing blank cells Excel Discussion (Misc queries) 1 August 19th 05 12:01 AM


All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"