Hello!
Yes, I am new to this but I know how to record macro, so I will formost ask if this is technically possible and if it is, where can I learn how to write macro that is this advanced?
I have two .xlsx files. Lets call them WS1 and WS2.
WS1 is only a template. WS2 is where all the data is stored and altered.
I would like my macro to;
§1 Create a new .xlsx file in a sub folder, named after the cell A2 in WS2, that is a copy of WS1.
§2 Create a new file according to §1 for every row in WS2 that has the same year specified in column C as the present year, ie 2012, 2013 etc...
§3 Copy a series of values from WS2 in a row consistent to each newly created .xlsx.
§4 Copy all created files to a new folder named after the present year, ie 2012
§5 When the year value in column C is <Present year, ie 2011, 2010 etc, it should first copy that value to column B, then add value according to column D to column C. Ie, column C is always present year or future, column B is always the past. Column D defines intervalls.
Bookmarks