Hi @Aquitus ,
Maybe you can try IsEmpty(worksheet.Range("A" & i))
or worksheet.Range("A" & i).value=""
to determine if it is empty.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.