Hi Holger,
Sorry about the mismatch in formatting.
Below is the code.
So the contents in the sheet are some aircraft information with daily movement figures. field 10 has the sum of fields 8 and 9. So if this sum value is 0.000000 then that entire row is deleted.
So there is the primary worksheet where I input aircraft, runway and movement data. And then there is this 'construct' workbook where it does all the calculations and the sorting of data according to my input.
Now the error message comes up within the DeleteRowsBasedOnCriteria() as in below code.
When I press debug on the error message, it shows the yellow highlight in the underlined bold line below.
The funny thing is code works flawlessly on EXCEL 2003 version.
Bookmarks