So what I have been doing is running my first set of code which will open new workbooks with specific data and then pasting different code into the new workbooks made and running it.
I was wondering if there is a way to use a message box in the first set of code to run the second set of code at the end?
MsgBox "Would you like to populate the team lists?", vbOKCancel
If Result = vbYes Then
Need to know what to put into the Then
. I know I can just put the code in the Then
but it's 2000 lines so I was hoping it could run somewhere else.