Hi,
It is a few decades since I used Excel in a modest way, and now suddenly I need to use it again and make it dance in a few different ways. (Excel2010)
1)
I have multiple named worksheets within a spreadsheet, mostly containing different flavours of data, one header row followed by one to many data rows.
Let us say the worksheets have names like X1, X2, Y1, Y2, Y3 and so on.
What I would like to be able to do is to "press a button" and spawn a number of these worksheets being written out to disk as a series of individual CSV files.
For example, let us say I have another worksheet which contains a row (or column) of cells, with values ( for example) "fredfilename" , "X1", "Y1", "Y3", and so on.....
What I would like is the spreadsheet to write out
- worksheet X1 as a CSV file to filename "fredfilenameX1", then
- worksheet Y1 as a CSV file to filename "fredfilenameY1", then
- worksheet Y3 as a CSV file to filename "fredfilenameY3", then so on....
Can anyone give me any hints as to how to make this happen ? or suggestions as to other ways to make this happen ?
thanks
edit: or simply have a single cell containing a set of comma delimited values "fredfilename,X1,Y1,Y3" and drive it from this...
Bookmarks