Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet with a large expanse of empty cells. However,
because I used a vlookup command and copied out the results as their values, then returned the results to the same locations, cells that APPEAR empty do NOT register as blank. Any sugesstions how I can return the empty cells to blank status without checking each one by hand? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Selection.ClearContents 'Should do the job.
-- Pops Jackson "LarryLev" wrote: I have a spreadsheet with a large expanse of empty cells. However, because I used a vlookup command and copied out the results as their values, then returned the results to the same locations, cells that APPEAR empty do NOT register as blank. Any sugesstions how I can return the empty cells to blank status without checking each one by hand? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sorry, but I guess I was not clear. Some cells have data that I want to
retain. I only want the empty cells to revert to blank. Pops Jackson wrote: Selection.ClearContents 'Should do the job. -- Pops Jackson "LarryLev" wrote: I have a spreadsheet with a large expanse of empty cells. However, because I used a vlookup command and copied out the results as their values, then returned the results to the same locations, cells that APPEAR empty do NOT register as blank. Any sugesstions how I can return the empty cells to blank status without checking each one by hand? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I just did not read your message carefully enough.
This seems to work. Of course, you will need to tailor it to your specs. Sub findempties() Range("A2").Select Do If ActiveCell < "" Then ActiveCell.Offset(0, 1).Activate Else ActiveCell.Clear ActiveCell.Offset(0, 1).Activate End If Loop End Sub -- Pops Jackson "LarryLev" wrote: sorry, but I guess I was not clear. Some cells have data that I want to retain. I only want the empty cells to revert to blank. Pops Jackson wrote: Selection.ClearContents 'Should do the job. -- Pops Jackson "LarryLev" wrote: I have a spreadsheet with a large expanse of empty cells. However, because I used a vlookup command and copied out the results as their values, then returned the results to the same locations, cells that APPEAR empty do NOT register as blank. Any sugesstions how I can return the empty cells to blank status without checking each one by hand? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to auto count data in an empty cell to be 0. Blank cell=0 | Excel Discussion (Misc queries) | |||
CONVERTING AN EMPTY TEXT BACK TO BEING BLANK | Excel Programming | |||
How do I leave formula cell blank if 2nd reference cell is empty? | Excel Discussion (Misc queries) | |||
Custom format that shows blank cell if another cell is empty | Excel Discussion (Misc queries) | |||
Find a non-blank cell and bring back text a in same row | Excel Worksheet Functions |