Hello,
On my sheet I have tables I want users to be able to add / remove / edit data through a form, but have them protected from manual manipulation. After running Worksheets().Protect, UserInterfaceOnly:=True on Workbook_open() it allows my code to edit and remove items, but not add.
The problem seems arise on this line, right after I add a ListRow to the table when I try to add data:
I get a Run-time error (1004): Application-defined or object-defined error.
Any help is appreciated.
On my sheet I have tables I want users to be able to add / remove / edit data through a form, but have them protected from manual manipulation. After running Worksheets().Protect, UserInterfaceOnly:=True on Workbook_open() it allows my code to edit and remove items, but not add.
The problem seems arise on this line, right after I add a ListRow to the table when I try to add data:
Code:
tableRowMain.Range(1, 1).Value = txtDate
I get a Run-time error (1004): Application-defined or object-defined error.
Any help is appreciated.