Ok, not completely clear from thread name what I'm exactly trying to do, but I'm gonna try to explain.
In my workbook I have sheet1 which contains my table with some 2000+ rows. This is my data source.
On sheet two I have something like form which is already mapped with an xml schema and can be exported (right click/xml/export or developer tab/xml/eport).
What I need is to create as many xml files as there is rows in my source table. I need to copy from source only one cell, let say from A1 to my form and all other fields will be filled based on that value (added by xlookup).
What VBA code suppose to do is:
I would appreciate if someone has some solution.
Thanks,
Bozo
In my workbook I have sheet1 which contains my table with some 2000+ rows. This is my data source.
On sheet two I have something like form which is already mapped with an xml schema and can be exported (right click/xml/export or developer tab/xml/eport).
What I need is to create as many xml files as there is rows in my source table. I need to copy from source only one cell, let say from A1 to my form and all other fields will be filled based on that value (added by xlookup).
What VBA code suppose to do is:
- Copy from A1 (source table) to lets say A1 (form sheet)
- Export form to xml
- Save as xml to the specific folder under specific name
- Copy from A2...and so on to the last row
I would appreciate if someone has some solution.
Thanks,
Bozo