I have a really strange problem that’s been bothering me for some time now. I have this planning workbook, it’s for a small stab – they want to plan their time schedule for a year ahead for every co-worker. The workbook is built on a couple of sheets, Template, calendar and so on - most of them are hidden. At the start-sheet there are this button “Ny medarbetare” who is the button to create a new sheet for every co-worker. First you come to a form where it’s necessary to fill every textbox and then you push on the button “Skapa” to create the new sheet. And here is where the problem starts and ONLY if there are no other sheets for co-workers. If there are other co-worker sheets it’s seems to be working fine (seems maybe is the keyword though it’s has’nt been testing yet). But if there is no other co-worker sheets yet, I get this error “A table cant overlap another table” and then its creating a Template(2) out of an existing sheet (and just rename it) and a co-workers sheet that is only half created and without the template.
I’m not that experienced with VBA so this is really bothering me. Adding some pictures of the described errors and the code that is creating the new sheet.
Hope anyone has any ideas.
Bookmarks