Hello
I have this following function in a module called (MyFunctions):
So, When I call this function (AddPlayer) from within the subroutine Workbook_Open() then it works just fine, however when I call it from MyFormButton_OnClick() subroutine then it gives me the error message that you can find attached in this post as an image format. So, when I hit the debug button it hightlights and takes me to the following line of this (AddPlayer) function:![]()
Please Login or Register to view this content.
I don't get it, what's wrong here?![]()
Please Login or Register to view this content.
Note: The (GetGroups) in that line of code above is a function that gets the available groups names that are to be selected from for each player name.
Bookmarks