Robert_Conklin
Board Regular
- Joined
- Jun 19, 2017
- Messages
- 173
- Office Version
- 365
- Platform
- Windows
- MacOS
I transferred my user-forms and modules to an updated workbook that I was working on and now I get the following error message when I click on my command buttons:
Run-time error '9': Subscript out of range
When I debug it points to the module for the corresponding command button.
One of my user-forms is called "AddNewProject" My module to open the user-form is as follows:
The only difference between the workbook that I was working on and the workbook I moved everything to is the name of the file, and there are a few extra tabs that have nothing to do with the code that I am writing.
Any insight would be great!!
Run-time error '9': Subscript out of range
When I debug it points to the module for the corresponding command button.
One of my user-forms is called "AddNewProject" My module to open the user-form is as follows:
Code:
Public Sub OpenAddNewProject() AddNewProject.Show
End Sub
The only difference between the workbook that I was working on and the workbook I moved everything to is the name of the file, and there are a few extra tabs that have nothing to do with the code that I am writing.
Any insight would be great!!