ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Collating multiple .csv files into a single work book (https://www.excelbanter.com/excel-discussion-misc-queries/247455-collating-multiple-csv-files-into-single-work-book.html)

Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?

Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
To clarify slightly, I need the three .csv files to appear as seperate
worksheets within the master doc, rather than combining all three into one
big sheet

"Mr_Wilf" wrote:

Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?


Pete_UK

Collating multiple .csv files into a single work book
 
You can record a macro while you go through the procedure once, i.e.
open each file in turn and format the sheet how you want it to appear,
then move the sheet into the Master file. Then you can repeat the
macro whenever you need to. If your file names vary (eg date-stamped)
then you will need to edit the macro to enable you to select the
appropriate file.

Hope this helps.

Pete

On Nov 4, 10:31*am, Mr_Wilf wrote:
To clarify slightly, I need the three .csv files to appear as seperate
worksheets within the master doc, rather than combining all three into one
big sheet



"Mr_Wilf" wrote:
I’m trying to collate three differently formatted .csv files into one
workbook. *But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. *I don’t know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. *am forced to leave the source files as .csv
100. *A.N. other reason.


Any suggestions on how to resolve this?- Hide quoted text -


- Show quoted text -



Ron de Bruin

Collating multiple .csv files into a single work book
 
Hi Mr_Wilf

See
http://www.rondebruin.nl/txtcsv.htm


Mr_Ron



--

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


"Mr_Wilf" wrote in message ...
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?



Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
Cheers Ron - I'll give that a work through and see what comes out.

"Ron de Bruin" wrote:

Hi Mr_Wilf

See
http://www.rondebruin.nl/txtcsv.htm


Mr_Ron



--

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


"Mr_Wilf" wrote in message ...
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?


.


Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
Cheers Pete, worked well!

"Pete_UK" wrote:

You can record a macro while you go through the procedure once, i.e.
open each file in turn and format the sheet how you want it to appear,
then move the sheet into the Master file. Then you can repeat the
macro whenever you need to. If your file names vary (eg date-stamped)
then you will need to edit the macro to enable you to select the
appropriate file.

Hope this helps.

Pete

On Nov 4, 10:31 am, Mr_Wilf wrote:
To clarify slightly, I need the three .csv files to appear as seperate
worksheets within the master doc, rather than combining all three into one
big sheet



"Mr_Wilf" wrote:
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.


Any suggestions on how to resolve this?- Hide quoted text -


- Show quoted text -


.


Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
Hi Ron,

A good guide but think it will be overkill for what I need so done the
simple route this time.

Thanks for the reply though!

"Ron de Bruin" wrote:

Hi Mr_Wilf

See
http://www.rondebruin.nl/txtcsv.htm


Mr_Ron



--

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


"Mr_Wilf" wrote in message ...
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?


.


Pete_UK

Collating multiple .csv files into a single work book
 
That's good to hear - thanks for feeding back.

Pete

On Nov 5, 11:36*am, Mr_Wilf wrote:
Cheers Pete, worked well!



"Pete_UK" wrote:
You can record a macro while you go through the procedure once, i.e.
open each file in turn and format the sheet how you want it to appear,
then move the sheet into the Master file. Then you can repeat the
macro whenever you need to. If your file names vary (eg date-stamped)
then you will need to edit the macro to enable you to select the
appropriate file.


Hope this helps.


Pete


On Nov 4, 10:31 am, Mr_Wilf wrote:
To clarify slightly, I need the three .csv files to appear as seperate
worksheets within the master doc, rather than combining all three into one
big sheet


"Mr_Wilf" wrote:
I’m trying to collate three differently formatted .csv files into one
workbook. *But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. *I don’t know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. *am forced to leave the source files as .csv
100. *A.N. other reason.


Any suggestions on how to resolve this?- Hide quoted text -


- Show quoted text -


.- Hide quoted text -


- Show quoted text -



Mr_Wilf[_2_]

Collating multiple .csv files into a single work book
 
Ron,

Tried using this for another task and after I've selected four files I end
up with the original workbook, two empty workbooks with one sheet each and a
final book with one of th efiles in it correctly.

I've just copied the macro for the multiple .csv files into a workbook
module and changed one bit - default lookup folder.

Any suggestions where I've mucked up?

"Ron de Bruin" wrote:

Hi Mr_Wilf

See
http://www.rondebruin.nl/txtcsv.htm


Mr_Ron



--

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


"Mr_Wilf" wrote in message ...
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?


.


Ron de Bruin

Collating multiple .csv files into a single work book
 
If you want you can send me your test workbook and a few of your
csv files and i look at it for you.

You find my mail address on my site
http://www.rondebruin.nl/

--

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


"Mr_Wilf" wrote in message ...
Ron,

Tried using this for another task and after I've selected four files I end
up with the original workbook, two empty workbooks with one sheet each and a
final book with one of th efiles in it correctly.

I've just copied the macro for the multiple .csv files into a workbook
module and changed one bit - default lookup folder.

Any suggestions where I've mucked up?

"Ron de Bruin" wrote:

Hi Mr_Wilf

See
http://www.rondebruin.nl/txtcsv.htm


Mr_Ron



--

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


"Mr_Wilf" wrote in message ...
Im trying to collate three differently formatted .csv files into one
workbook. But in order to get the latest data in my master document I still
have to open the three source files which sort of spoils the point of the
master doc. I dont know if this is because:
1. I have set the book up wrongly
b. I have stored the source files in the wrong place
iii. am forced to leave the source files as .csv
100. A.N. other reason.

Any suggestions on how to resolve this?


.




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

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