Hi Guys,
I am posting in the General as I am getting the issue with or without vba.
Attached is a cutdown version of a workbook that has been working fine for more than 5 years.
I have added records to the cutdown version so far without any problems (so far).
Today on the full version of the workbook after adding about 15 records spread through the 4 tables using the ?Add Record? button, I get a debug with ?Run-time Error 1004? ?This won?t work because it would move cells in a table on your worksheet?.
If I ?End? and try to insert a table row OR delete a table row I get a dialog ?This won?t work because it would move cells in a table on your worksheet?
I can still add records to previous sheets.
Each sheet in the full workbook is a copy of the previous sheet with the data removed, the cutdown version sheet is also a copy of its previous months sheet but with the previous months sheet deleted.
The debug is in the frmDataEntry .ListRows.Add AlwaysInsert:=True
![]()
Set lo = ActiveSheet.ListObjects(x) 'set ListObject (lo) to the Table Selected above (x) With lo 'With that List Object (x) 'Allow the Table to grow .ListRows.Add AlwaysInsert:=True
Any ideas why this should have happened?
Bookmarks