PC Review


Reply
Thread Tools Rate Thread

Copy rows from one worksheet automatically, ignore rows that are b

 
 
Kris
Guest
Posts: n/a
 
      10th Oct 2008
I am trying to figure out how to automatically copy rows (several columns)
from one worksheet to another and have Excel ignore the rows that have some
columns that are blank. Some columns have pick lists, some are free form.

Does anyone know how to do this? If ALL columns in the row contain
information I want it to copy the row to another worksheet. If any of the
columns are blank or do not contain any data within the row, I do not want it
to copy. I don't want to manually copy the rows and delete the rows with
blank columns.

Any help is appreciated!


 
Reply With Quote
 
 
 
 
Sheeloo
Guest
Posts: n/a
 
      10th Oct 2008
See the DeleteBlankRows1() macro available at
http://www.ozgrid.com/VBA/VBACode.htm and adapt it to your need.



"Kris" wrote:

> I am trying to figure out how to automatically copy rows (several columns)
> from one worksheet to another and have Excel ignore the rows that have some
> columns that are blank. Some columns have pick lists, some are free form.
>
> Does anyone know how to do this? If ALL columns in the row contain
> information I want it to copy the row to another worksheet. If any of the
> columns are blank or do not contain any data within the row, I do not want it
> to copy. I don't want to manually copy the rows and delete the rows with
> blank columns.
>
> Any help is appreciated!
>
>

 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      10th Oct 2008
I need a bit more information than provided. How specifically do I set this
macro up to run between workbooks? One worksheet is located in one workbook,
the one I want the cells copied to is in another workbook.

Can you help me set up the specific macro using the scenario of deleting
rows if some of the cells are blank?
Thanks

Kris

"Sheeloo" wrote:

> See the DeleteBlankRows1() macro available at
> http://www.ozgrid.com/VBA/VBACode.htm and adapt it to your need.
>
>
>
> "Kris" wrote:
>
> > I am trying to figure out how to automatically copy rows (several columns)
> > from one worksheet to another and have Excel ignore the rows that have some
> > columns that are blank. Some columns have pick lists, some are free form.
> >
> > Does anyone know how to do this? If ALL columns in the row contain
> > information I want it to copy the row to another worksheet. If any of the
> > columns are blank or do not contain any data within the row, I do not want it
> > to copy. I don't want to manually copy the rows and delete the rows with
> > blank columns.
> >
> > Any help is appreciated!
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy rows automatically Secret Squirrel Microsoft Excel Misc 2 27th Jul 2008 09:59 AM
how to automatically number rows in an excel worksheet =?Utf-8?B?TmV3S2lk?= Microsoft Excel Worksheet Functions 0 11th Sep 2006 07:17 PM
Find all rows of a color and copy those rows to a new worksheet =?Utf-8?B?aHNoYXloMHJu?= Microsoft Excel Programming 3 26th May 2006 08:34 PM
Deleting rows from a worksheet automatically =?Utf-8?B?bWdfc3Zfcg==?= Microsoft Excel Worksheet Functions 2 19th May 2006 03:45 PM
Automatically resizing rows (or columns) in a worksheet Andrew Levy Microsoft Excel Worksheet Functions 1 14th Jan 2004 10:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:47 PM.