Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I have a series of ranges, eg a1:a10 This range contains words in some cells and numbers in others. I successfully replace all certain words with "" and sort the range using A1 as the key. However, after it's been sorted there are a number of blank cells at the top. Since I will be using this range to load a combobox I'd like to shift the whole lot up and remove the blank spaces at the top. Any ideas? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you are doing this in code, the easiest way would be to do you
replacement of the certain words with "" and then put this line in th code before doing the sort. Range("A1:A10").SpecialCells(xlCellTypeBlanks).Ent ireRow.Delete Replacing the A1:A10 with your range. The line above essientiall deletes the entire row of anything with a blank cell in the A1:A1 range. -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Delete blanks between a range and populate only the names inthe given range | Excel Discussion (Misc queries) | |||
How to find and replace with blanks or actually delete row | Excel Worksheet Functions | |||
delete blanks - sporadic | Excel Discussion (Misc queries) | |||
excel needs feature to delete blanks when autofilter is used. | Excel Discussion (Misc queries) | |||
Delete rows with text and blanks in column A | Excel Programming |