Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have a macro which takes one 20000 line weeksheet, containing data
from 300 branches, and copies, pastes and saves to 300 new workbook containing the data for each branch. Each branch has a vaying number of lines of data, so my macro filters by branch code, then copies the whole worksheet, including blank space. this creates 4mb files, whereas if I manually copy and paste only the used area of the workbook, it's less than 100k. I therefore need a macro to highlight only the occupied cells. The number of columns will always be the same (26), but number of rows varies. Any ideas how to do this ? -- Rich http://www.richdavies.com/excel.htm ** Posted from http://www.teranews.com ** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need a macro to copy cells | New Users to Excel | |||
macro needed to copy blocks of cells across to list of cells down | Excel Programming | |||
Using a macro to copy certain cells | Excel Programming | |||
copy cells with a macro... | Excel Programming | |||
a script/macro to copy a block of cells next to specified cells | Excel Programming |