Hi all
I’ve inherited an old excel file from a colleague that I need to modify.
My problem is that the file contains old XML-code and I need to convert this to VBA and I know next to nothing about neither XML nor VBA!
I have one sheet (Sheet1) with data that changes each month. In cell B5, sheet1, it’s stated which month the data in the sheet is referring to. On sheet2 I have the historical data for each month, column A holds the past, present and future months.
The old XML code looks up the date in cell B5, copies the values from several cells on sheet 1 (B:10, B:12, B:15, B:16, etc… no systematics here) then looks up the date from cell B5 on sheet1 in column A on sheet2 and pastes the values from the B-cells into the row on sheet 2 with the matching date: e.g. sheet1-B:10 goes to sheet2-column B, Sheet1-B12 goes to Sheet2-column C, and so forth. Hope this makes sense for you!
I would really appreciate if one of you has an idea for how I can solve this – I guess it should be rather basic... However I’ve read through the forum without much luck, as the entire VBA universe is very new to me.
BR and thanks!
I’ve inherited an old excel file from a colleague that I need to modify.
My problem is that the file contains old XML-code and I need to convert this to VBA and I know next to nothing about neither XML nor VBA!
I have one sheet (Sheet1) with data that changes each month. In cell B5, sheet1, it’s stated which month the data in the sheet is referring to. On sheet2 I have the historical data for each month, column A holds the past, present and future months.
The old XML code looks up the date in cell B5, copies the values from several cells on sheet 1 (B:10, B:12, B:15, B:16, etc… no systematics here) then looks up the date from cell B5 on sheet1 in column A on sheet2 and pastes the values from the B-cells into the row on sheet 2 with the matching date: e.g. sheet1-B:10 goes to sheet2-column B, Sheet1-B12 goes to Sheet2-column C, and so forth. Hope this makes sense for you!
I would really appreciate if one of you has an idea for how I can solve this – I guess it should be rather basic... However I’ve read through the forum without much luck, as the entire VBA universe is very new to me.
BR and thanks!