A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Collating multiple .csv files into a single work book



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2009, 09:58 AM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default Collating multiple .csv files into a single work book

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?
  #2  
Old November 4th, 2009, 10:31 AM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default 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:

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?

  #3  
Old November 4th, 2009, 11:48 AM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default 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 -


  #4  
Old November 4th, 2009, 09:22 PM posted to microsoft.public.excel.misc
Ron de Bruin
external usenet poster
 
Posts: 2,861
Default 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 news
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?


  #5  
Old November 5th, 2009, 10:18 AM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default 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 news
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?


.

  #6  
Old November 5th, 2009, 11:36 AM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default 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:
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 -


.

  #7  
Old November 5th, 2009, 11:38 AM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default 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 news
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?


.

  #8  
Old November 5th, 2009, 02:05 PM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default 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 -


  #9  
Old November 9th, 2009, 01:10 PM posted to microsoft.public.excel.misc
Mr_Wilf[_2_]
external usenet poster
 
Posts: 8
Default 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 news
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?


.

  #10  
Old November 9th, 2009, 07:21 PM posted to microsoft.public.excel.misc
Ron de Bruin
external usenet poster
 
Posts: 2,861
Default 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 news
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?


.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.