Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default CONVERTING AN EMPTY TEXT BACK TO BEING BLANK

Select the cells that may have the "" in them and use

Dim myCell As Range
For Each myCell In Selection
If myCell.Value = "" Then myCell.Value = ""
Next myCell


Note that this will remove formulas that return "" You could use this to prevent deleting
formulas:

Dim myCell As Range
For Each myCell In Selection
If Not myCell.HasFormula Then
If myCell.Value = "" Then myCell.Value = ""
End If
Next myCell

HTH,
Bernie
MS Excel MVP


"excel guru" <excel wrote in message
...
My problem is with converting an empty text back to a blank cell. "" IS NOT A
BLANK CELL BUT AN EMPTY TEXT.if a cell is "" then isblank will be false



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
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
Converting text string back into a formula Kevin c Excel Discussion (Misc queries) 1 October 17th 06 09:52 PM
I ACCIDENTIALLY SAVED A BLANK PAGE OVER A FILE HOW DO I GO BACK T emily Excel Worksheet Functions 1 December 24th 05 05:08 PM
Find a non-blank cell and bring back text a in same row Rod Excel Worksheet Functions 12 March 24th 05 09:43 PM
Can blank cells created using empty Double-Quotes not be empty?? JohnI in Brisbane Excel Programming 6 September 7th 03 11:22 PM


All times are GMT +1. The time now is 01:13 PM.

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

About Us

"It's about Microsoft Excel"