there is one macro written vbs and it’s is doing some operation in excel, but when there is a single row in excel and it need to do calculation on specific column and there it is failed to do so.
you can see the above img, in this file there is only one row and bot should calculate Aging and Range column based on invoice date column. but it didn’t do.
FYI - bot is able to do the calculation correctly when there is more than one row available.
I dont think it is failing there it can fail before or after…
because it is just a line to select A1 cell
can you tell what the error is
That lien is done to check if there are filters in first row and remove them…but we can remove that last line anyways…as it is being done at the first already