Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50085

Create multiple XML files from spreadsheet

$
0
0
Hello, I come here in search for help and guidance :)

Here's what I have to do:
I have a spreadsheet with many lines. Each Line represents a file, and the rows in each line are values to be written in this file.

File Name | Value 1 | Value 2|
-----------------------------------
001 | 27 | 58 |
-----------------------------------
002 | 21 | 69 |

...and so on

Now, for each line, I need to write and save an XML file with some static xml data (stuff that is always the same for each xml) and the values from the spreadsheet.

Example

XML
<bla bla bla>
<bla bla bla>
<bla bla bla>
<bla bla bla>

<bla bla = Value 1>
<bla bla = Value 2>

<bla bla bla>
<bla bla bla>
<bla bla bla>
/XML


I'm totally new to VBA, so any advice is welcome.
Thanks in advance.

Viewing all articles
Browse latest Browse all 50085

Trending Articles