Do loop not working

abasel, thank you for explaining that but the return was just one of multiple issues.