ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Displaying data from multiple spreadsheets into one spreadsheet. (https://www.excelbanter.com/excel-programming/412021-displaying-data-multiple-spreadsheets-into-one-spreadsheet.html)

robin

Displaying data from multiple spreadsheets into one spreadsheet.
 
Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin

joel

Displaying data from multiple spreadsheets into one spreadsheet.
 
Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


robin

Displaying data from multiple spreadsheets into one spreadshee
 
oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


joel

Displaying data from multiple spreadsheets into one spreadshee
 
two more questions

1) Allworksheets, activeworsheet, or specific names
2) All sub-folders under a root directory? Some people put the names of
each file in the worksheet in a column, then opens each of the file name
using the worksheet. Do you need all *.xls files or using a filter (looking
for name starting with or contain some string)?

"Robin" wrote:

oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


robin

Displaying data from multiple spreadsheets into one spreadshee
 
1) Allworksheets.
2)nope, all folders are under different directories and i would be using a
filler.

thanks for your time Joel :-)

Regards
Robin


"Joel" wrote:

two more questions

1) Allworksheets, activeworsheet, or specific names
2) All sub-folders under a root directory? Some people put the names of
each file in the worksheet in a column, then opens each of the file name
using the worksheet. Do you need all *.xls files or using a filter (looking
for name starting with or contain some string)?

"Robin" wrote:

oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


Ron de Bruin

Displaying data from multiple spreadsheets into one spreadsheet.
 
Hi Robin

I have code and a add-in on my site that you can try
http://www.rondebruin.nl/tips.htm

See the "Copy/Paste/Merge examples" section


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Robin" wrote in message ...
Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


joel

Displaying data from multiple spreadsheets into one spreadshee
 
Did Ron help you? I can modify any of his examples if necessary. I think if
all the folders are in random locations you probably want to put the
directories on a worksheet in your summary workbooks. You can call the sheet
Summary Folders.

The code can take each of these directories and then search for all files in
the directory such as abc*.xls. then copy all the workssheets in these book
to the summary sheet.

"Robin" wrote:

1) Allworksheets.
2)nope, all folders are under different directories and i would be using a
filler.

thanks for your time Joel :-)

Regards
Robin


"Joel" wrote:

two more questions

1) Allworksheets, activeworsheet, or specific names
2) All sub-folders under a root directory? Some people put the names of
each file in the worksheet in a column, then opens each of the file name
using the worksheet. Do you need all *.xls files or using a filter (looking
for name starting with or contain some string)?

"Robin" wrote:

oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


robin

Displaying data from multiple spreadsheets into one spreadshee
 
thanks for ur time joel. i will try ron's codes and see if they help.

"Joel" wrote:

Did Ron help you? I can modify any of his examples if necessary. I think if
all the folders are in random locations you probably want to put the
directories on a worksheet in your summary workbooks. You can call the sheet
Summary Folders.

The code can take each of these directories and then search for all files in
the directory such as abc*.xls. then copy all the workssheets in these book
to the summary sheet.

"Robin" wrote:

1) Allworksheets.
2)nope, all folders are under different directories and i would be using a
filler.

thanks for your time Joel :-)

Regards
Robin


"Joel" wrote:

two more questions

1) Allworksheets, activeworsheet, or specific names
2) All sub-folders under a root directory? Some people put the names of
each file in the worksheet in a column, then opens each of the file name
using the worksheet. Do you need all *.xls files or using a filter (looking
for name starting with or contain some string)?

"Robin" wrote:

oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin


robin

Displaying data from multiple spreadsheets into one spreadshee
 
hi ron

u really have some good stuff at ur site. i will try out ur codes right away.

"Ron de Bruin" wrote:

Hi Robin

I have code and a add-in on my site that you can try
http://www.rondebruin.nl/tips.htm

See the "Copy/Paste/Merge examples" section


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Robin" wrote in message ...
Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin



robin

Displaying data from multiple spreadsheets into one spreadshee
 
hello again,
well i have looked through ron's examples and what u said abt puting my
directories on a summary worksheet seems like a really great idea.

so i was wondering if u could tell me in more detail as to how i can
integrate the summary workbook with the macro(i am thinking abt using the
"MergerwithAutoFilter" macro from Ron's examples).



Thanks and Regards
Robin

"Joel" wrote:

Did Ron help you? I can modify any of his examples if necessary. I think if
all the folders are in random locations you probably want to put the
directories on a worksheet in your summary workbooks. You can call the sheet
Summary Folders.

The code can take each of these directories and then search for all files in
the directory such as abc*.xls. then copy all the workssheets in these book
to the summary sheet.

"Robin" wrote:

1) Allworksheets.
2)nope, all folders are under different directories and i would be using a
filler.

thanks for your time Joel :-)

Regards
Robin


"Joel" wrote:

two more questions

1) Allworksheets, activeworsheet, or specific names
2) All sub-folders under a root directory? Some people put the names of
each file in the worksheet in a column, then opens each of the file name
using the worksheet. Do you need all *.xls files or using a filter (looking
for name starting with or contain some string)?

"Robin" wrote:

oops, srry i meant workbooks. also the workbooks are all in different folders.

"Joel" wrote:

Do you meand spreadsheets or workbooks?

Speadsheets can be copied within one workbook without activating each sheet.

Workbooks have to be opened to copy the sheets, but the original workbooks
can be closed without altering the data or the data of the workbook.

"Robin" wrote:

Hello

I am new to using macros so i need some help to create a macro that copies
data from a bunch of spreadsheets(about 20) and displays the data in one
spreadsheet. Also is it possiable to do this without actually opening the
spreadsheets that I want to copy the data from?

Thanks
Robin



All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com