Hi,
New to this forum and had a good look through the threads to try and find a solution and I'm sure it is here albeit over several threads but I'm having trouble piecing the VBA together to make this work.
Background: I'm creating a customer account management database which consists of x1 worksheet per customer which is linked to a master 'Summary' tab for the purposes of seeing at a glance outstanding payments by customer.
Objective: I've created a Command Button which when pressed I hope to i) copy the "Blank" template, ii) re-name it to the next sequential account number in the "Summary" tab, iii) move the new worksheet to the end, iv) insert a new line on row 6 of the 'Summary' tab for the new worksheet created complete with updated formulas to pull the data through.
I've created some code and managed to get it all working with the exception that it copies the last worksheet (complete with the customer information) rather than the "Blank" worksheet. To prevent confusion (and to hide my embarrassment, I'm a nube!) I'll not post the code. I have however attached the file.
Any help on writing the VBA code to achieve the objective would be most appreciated.
Scott
Bookmarks