Hi all,
I hope there is someone out there who can help me.
I am able to create some simple Macros, but nothing complex as I need it now. So any help you guys could provide would really be appreciated. I work with Excel 2010.
What I have so far:
I have 2 Worksheets.
Worksheet no. 1 is named "List"
Worksheet no. 2 is named "Template"
Currently worksheet no. 1 is empty. It will be filled line by line.
A1 will be "0001", B1 will be "name1", C1 will be "name2"
What the makro is doing right now:
1.) Copy worksheet "Template" put it before "Template" and name it according to what is in A1 (=0001)
2.) Copy B1 into G1 of the new worksheet "0001"
3.) Copy C1 into G4 of the new worksheet "0001"
That's how far I got on my own and it works!
But now comes the challenge:
Once a new line is added in worksheet "List" I want to use the macro again to:
1.) Copy worksheet "Template" put it before "Template" and name it according to what is in A2 now (which then would be 0002)
2.) Copy B2 into G1 of the new worksheet "0002"
3.) Copy C2 into G4 of the new worksheet "0002"
4.) Once another line 3 is added in worksheet "list", do step 1-3 again, and so on (each time a new line is added in worksheet "list").
Ideally:
Ideally I would have a button in my worksheet "List" that I can press once I added a new line and then what I described above happens automatically.
I hope I explained everything well enough. In case I did not and there are open questions, please do not hesitate to contact me!
Thanks in advance for your help!!!
Bookmarks