Posted 17 November 2020, 11:52 am ESTHi, I have a sheet datasource bounded to a datatable, when I add or delete a row from the sheet the datasource changes correctly, however when I change the sheet RowCount property the datasource is not updating:
fp.Sheets(iSheetIndex).RowCount = 2
ctype(fp.Sheets(iSheetIndex).DataSource, datatable).rows.count = 1
The sheet RowCount property changes but in the debugger the datasource datatable has the same number of rows (in this case one), what I'm doing wrong? Thanks.