Greetings all,
I've stumbled upon a hurdle whislt developing a current project.
I need to be able to create a series of files based up data which is needs to be filtered.
1st of all i need to import data from another spreadsheet, so i am cprrect is assuming i can do this by using the
Applications.GetOpenFilename
method, and copying the data accross into a temp spreadsheet.
Stage 2 of this i need to extract anything which is displayed "JOB" in column D, and create a new spreadsheet called "JOB_(previousWorkingDay).xls" e.g. JOB_010507.xls
Stage 3 is the tricky part.
In column A is a currency and column D a Account.
I need to create a new file for each Account and Currency.
so if there is 1200 rows, but only 3 accounts, with 4 currencys in each, the files that output would look like this, and each file would contain that data.
for example.....
340985_GBP_01052007.xls
340985_AUD_01052007.xls
340985_USD_01052007.xls
340985_NOK_01052007.xls
445554_GBP_01052007.xls
445554_AUD_01052007.xls
445554_USD_01052007.xls
445554_NOK_01052007.xls
675567_GBP_01052007.xls
675567_AUD_01052007.xls
675567_USD_01052007.xls
675567_NOK_01052007.xls
i think i could do the filtering, but i'm a bit unsure on how to tell it to output the data into the appropriate files.
Please can anybody help.