Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default To cut rows from a sheet with multiple blocks of data

Good afternoon to all....

I have a sheet with several blocks of data- each block is separated b
a blank row. (Please see attached file for an example)

Each block contain the same number of rows but can contain a variabl
number of columns. Each cell will contain a single text character.

The macro code should cut each row from each block (based on row #) an
paste into a new sheet but in the same row as the row# from th
original sheet. So, from each block, row #1 will pasted (consecutively
into row #1 in the final sheet. Similarly, row #2 from each block wil
be pasted into row #2. This process is continued until every row i
each block are pasted into the final sheet.

In the attached file, the before sheet is for block prior to cut an
paste operation while sheet "After" is for desired outcome by using th
macro. Note the row is colored to clearify the purpose of this posting


One note, if the row size happen or require to extend beyond the limi
of 256 column, the remaining text (or rows) are pasted on the nex
sheet but under the same row # as the continuation of the row on th
preceeding sheet.

Thanks for all your help and advic

Attachment filename: sample same block.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=61380
--
Message posted from http://www.ExcelForum.com

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
can i wrap rows to form multiple rows per row to fit on 1 sheet? Dave Excel Discussion (Misc queries) 2 October 9th 12 04:53 PM
Conditional Formatting using blocks of rows Cathy Excel Worksheet Functions 7 October 22nd 08 02:40 PM
need help please inserting multiple rows based on cell value then copying to data sheet [email protected] Excel Worksheet Functions 1 July 1st 07 08:44 PM
how to split address blocks across multiple cells JoannaF Excel Worksheet Functions 13 May 2nd 06 12:19 PM
protect sheet blocks filter bob Excel Programming 2 July 22nd 03 07:21 AM


All times are GMT +1. The time now is 07:19 AM.

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"