Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Line count in 1 sheet to determine paste range in 2nd sheet.

From cell B6 all the way down in sheet Official List, I want to count
the number of lines not empty. (There will be no empty lines in
between.)

After the number is calculated, I want to start at cell A6 in sheet
GDATA and copy the formulas in cells A6.B6 down to as many lines as
there were in sheet Official List.
Then, I want to make sure all the cells below that are empty. (Some
days may have more lines than others. I want to delete these formulas
if they are beyond the number of lines from above.)

For example, the macro counts 500 lines in Official List (starting
from cell B6).
It copies cells A6.B6 in GDATA, and pastes it to A7.B506 (500 lines)
It then deletes any line beyond line 506 that contain any data.

I would appreciate any help…
Thanks
jeff
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
If 0, count various codes in a range on another sheet Steve Excel Worksheet Functions 8 January 8th 10 09:34 PM
Paste Values in Number of rows as count in other sheet Salman Excel Discussion (Misc queries) 0 February 27th 07 06:04 AM
Copy a Range from sheet and paste the next blank line in anoth ca1358 Excel Programming 1 December 2nd 05 09:18 AM
Paste range from one sheet to another Dan Excel Programming 3 November 2nd 04 02:05 PM
Find range in one sheet, then paste in the other (one by one) cskgg[_6_] Excel Programming 3 August 13th 04 01:23 PM


All times are GMT +1. The time now is 11:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"