Hi,
Trying to go from practically new user to (hopefully) a warmed up beginner, giving myself a crash course on macros by diving in and just doing it (I may be a bit over my head).
I am having issues with one of my subroutines. I only want a specific subroutine to run if the workbook consists of 5 specific sheets. If it does not, I would like a different subroutine to be called. I can't find anything by searching so I can't even determine if it's possible, but I don't see why not.
I don't even have any starting code because I don't know where to begin.
To put it simply to call a next subroutine, I would like to run the following:
If workbook contains all Sheet A, Sheet B, Sheet C, Sheet D, Sheet E, go to Sub X
If not, go to Sub Y
Is this possible?
I thought I could use an "If Array Sheet ABCDE exists, call Sub X, else, call Sub Y", but I can't seem to get it to work.
Please let me know if any additional clarification is needed.
Thank you!
Bookmarks