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 **