Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Collect used areas of multiple spreadsheets into one...

Let me try to explain my problem.

Basically I am trying to set up a petty cash system where each person
has his own sheet - that I then want to collect into one big Master
sheet.

I have 10 sheets in a workbook (lets call them cash1, cash2, cash3
etc).
They all have the same layout and formulas...

The areas where the people input the data that I want copied is ranging
from A9-I34.

I could do a simple =and refer to each cell in the different sheets.
But there might not be information in all the rows (A9 to I34) in all
of the indvidul sheets.

To avoid having a long list with empty rows I would like to only
collect the rows used in a specified area of each sheet and then put
them continously in my Master sheet - as a total resume of ALL the
expenses in on lone list.

I cant figure out how to do this without ending up with a lot of empty
rows in my master.

Please advice me how to solve this problem... It is driving me nuts -
and I will be so happy for any help you might offer.

Thank you,
MivPiv

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Collect used areas of multiple spreadsheets into one...

Why not create it with the empty rows and then delete the empty rows

Dim rng as Range
On Error Resume Next
set rng = columns(1).specialcells(xlblanks)
On Error goto 0
if not rng is nothing then
rng.Entirerow.delete
End if

This uses column 1 (A) to determine if the row should be deleted. Adjust to
suit.

--
Regards,
Tom Ogilvy



"mivpiv" wrote:

Let me try to explain my problem.

Basically I am trying to set up a petty cash system where each person
has his own sheet - that I then want to collect into one big Master
sheet.

I have 10 sheets in a workbook (lets call them cash1, cash2, cash3
etc).
They all have the same layout and formulas...

The areas where the people input the data that I want copied is ranging
from A9-I34.

I could do a simple =and refer to each cell in the different sheets.
But there might not be information in all the rows (A9 to I34) in all
of the indvidul sheets.

To avoid having a long list with empty rows I would like to only
collect the rows used in a specified area of each sheet and then put
them continously in my Master sheet - as a total resume of ALL the
expenses in on lone list.

I cant figure out how to do this without ending up with a lot of empty
rows in my master.

Please advice me how to solve this problem... It is driving me nuts -
and I will be so happy for any help you might offer.

Thank you,
MivPiv


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Collect used areas of multiple spreadsheets into one...

Super!!!
I actually just figured that out... Thanks so much!!!
Miv


Tom Ogilvy wrote:
Why not create it with the empty rows and then delete the empty rows

Dim rng as Range
On Error Resume Next
set rng = columns(1).specialcells(xlblanks)
On Error goto 0
if not rng is nothing then
rng.Entirerow.delete
End if

This uses column 1 (A) to determine if the row should be deleted. Adjust to
suit.

--
Regards,
Tom Ogilvy



"mivpiv" wrote:

Let me try to explain my problem.

Basically I am trying to set up a petty cash system where each person
has his own sheet - that I then want to collect into one big Master
sheet.

I have 10 sheets in a workbook (lets call them cash1, cash2, cash3
etc).
They all have the same layout and formulas...

The areas where the people input the data that I want copied is ranging
from A9-I34.

I could do a simple =and refer to each cell in the different sheets.
But there might not be information in all the rows (A9 to I34) in all
of the indvidul sheets.

To avoid having a long list with empty rows I would like to only
collect the rows used in a specified area of each sheet and then put
them continously in my Master sheet - as a total resume of ALL the
expenses in on lone list.

I cant figure out how to do this without ending up with a lot of empty
rows in my master.

Please advice me how to solve this problem... It is driving me nuts -
and I will be so happy for any help you might offer.

Thank you,
MivPiv



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
Collect data from spesific cell in multiple sheets Espen Rostad[_2_] Excel Discussion (Misc queries) 4 March 16th 10 09:20 AM
Need Macro to Collect Multiple Worksheet Names navel151 Excel Worksheet Functions 3 February 21st 10 06:19 PM
How can collect data from multiple sheets in the same workbook? rrok Excel Discussion (Misc queries) 1 November 16th 09 03:20 AM
How do I collect excell spreadsheets from 30 people? mttmwsn Excel Discussion (Misc queries) 4 October 31st 07 08:51 AM
how to read multiple workbooks, collect a few cells from each? ms Excel Programming 1 November 16th 03 01:45 AM


All times are GMT +1. The time now is 08:10 PM.

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"