I really do apologize for keep changing the goal post
i am not that adept at modifying VBA scripts, so i ask advise.
i am building something and ask assistance when i need excel to automatically do something and i dont know how.
when i implement whatever help was given. in most cases the help advise works perfectly, and i can adapt it to suit the next parts of what i need to achieve.
in this case, i am not able to modify the scrip to suit my needs, so i ask more advise on how to modify the requested script.
in this case, the fist scrip i requested sis not specify the sheet, because i was working on one sheet. but in creating a new sheet, i need the scrip to always check the correct sheet for the reference, and not jump back to the specific sheet. that i can do, but it feels messy. I tried to adapt the script to select the correct sheet, but my syntax keeps failing.
now i am faced with another issue and i cannot adapt the script myself. first, for some reason my screen-updating does not reactivate when the page already exists. i am not sure if it my installation thats buggy, but its the case. So i stepped through the script and found that is exits the sub and does not pass the "Application.ScreenUpdating = True".
secondly, i already tried changing the script to "
Application.Run" instead of "exit Sub" before i asked.
i was prompted with the error in the screenshot,
so i simply asked you how do i run an application instead of exiting the sub
also, bu simply changing the "Exit Sub" to "
Application.Run", won skip the "next where the sheet is created and renamed.