Joel,
I embedded tho code you sent me in my code. When I start the code I get the
message :
"Excel has stopped working"
"Windows is checking for a solution to this problem" :
After a little while :
"Microsoft Office Excel is trying to recover your information"
"This might take a few minutes"
After another little while :
"Microsoft Excel is restarting"
And then my file opens again. With the new sheet and ...... without the VB
code.
So, somehow it works but not the way it should, I think.
Another thing is that I now know that the new sheet is called Sheet2,
because I can see that in VB. But how do I know the name when a second copy
or third is made, by someone else on another PC? Can I ask for the name of
the new sheet in VB?
I am struggling further. Hope you can struggle with me.
Kind regards,
Henk