Afternoon!
I'm working on a simple project 'database' of sorts for my company.
I've created a UserForm to make the data entry easier, using a macro set I found online.
When adjusting the naming conventions to meet my needs, I continually come up against the "Runtime error '9': Subscript out of range" bug. (The code below shows my edits.)
I have checked, and re-checked the sheet names, and cannot find the error.
The debugger is highlighting the piece of code in red below (I can't post links or pictures yet, so this will have to do )
Private Sub cmdAdd_Click()
'Copy input values to sheet.
Dim lRow As Long
Dim wb As Workbook
Dim ws As Worksheets
Set wb = ActiveWorkbook
Set ws = wb.Sheets("Projects")
All help is much appreciated!
Bookmarks