Hi folks.
This is my first post, relalatively new to vba, i'm trying to write a little program that creates sheets from an user box.
So the user puts the quantity of sheets to be created (ex.-3), then i would like to have 3 new sheets and these sheets renamed with 1, 2, 3 etc
Works without problem but have a problem when it tries to rename the new worksheets from the array values.
Therefore if i have an hard coded array i have no problems to rename from these values...
Here is my code..
I get an 1004 error "Apllication-defined or object-defined error" at this part.
If i could have a friendly hand on my code, and maybe some explanations :-) Really would appreciate, i'm getting a bit stucked on it, really i don't see where i'm false...
Bookmarks