Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default reomove blanks in list

am using two sheets one with info typed into it and another in reference to
info
in the first sheet info is type and some cells left blank in one column
second sheet refers back to the info typed
need the second sheet to constantly sort out the blanks and move all info to
the top of page in the order it was typed

my goal is to have the second sheet locked out so no can edit it but it
constantly sorts out all the blanks without anyone having to do anything to
the second page but print it

--

storm.mcdonald
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default reomove blanks in list

If you are not averse to using a mcro something like this should do the
trick...

Sub RemoveBlanks()
On Error Resume Next

Sheets("Sheet1").Columns("A").SpecialCells(xlCellT ypeBlanks).EntireRow.Delete
On Error GoTo 0
End Sub
--
HTH...

Jim Thomlinson


"storm.mcdonald" wrote:

am using two sheets one with info typed into it and another in reference to
info
in the first sheet info is type and some cells left blank in one column
second sheet refers back to the info typed
need the second sheet to constantly sort out the blanks and move all info to
the top of page in the order it was typed

my goal is to have the second sheet locked out so no can edit it but it
constantly sorts out all the blanks without anyone having to do anything to
the second page but print it

--

storm.mcdonald

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default reomove blanks in list

tried this in vb and it was not able to remove te cells that were blank
--
storm.mcdonald


"Jim Thomlinson" wrote:

If you are not averse to using a mcro something like this should do the
trick...

Sub RemoveBlanks()
On Error Resume Next

Sheets("Sheet1").Columns("A").SpecialCells(xlCellT ypeBlanks).EntireRow.Delete
On Error GoTo 0
End Sub
--
HTH...

Jim Thomlinson


"storm.mcdonald" wrote:

am using two sheets one with info typed into it and another in reference to
info
in the first sheet info is type and some cells left blank in one column
second sheet refers back to the info typed
need the second sheet to constantly sort out the blanks and move all info to
the top of page in the order it was typed

my goal is to have the second sheet locked out so no can edit it but it
constantly sorts out all the blanks without anyone having to do anything to
the second page but print it

--

storm.mcdonald

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
Help with sorting blanks out of a list Susienak Excel Discussion (Misc queries) 3 November 17th 07 07:53 AM
Condense out blanks in a list Matt Excel Discussion (Misc queries) 3 July 31st 07 01:00 AM
copy a list and skipping blanks Art Excel Worksheet Functions 20 November 29th 06 03:21 PM
How do I sort a list that contains blanks that I want to keep? SHexceluser Excel Discussion (Misc queries) 5 October 14th 05 10:27 PM
validation list blanks Wes Excel Worksheet Functions 2 March 6th 05 08:01 PM


All times are GMT +1. The time now is 11:28 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"