컴파일 하던 중에 에러가 나타났습니다

에러

while문을 통해 엑셀에 데이터를 입력하던 중에

에러가 나타났는데요

원인을 모르겠습니다.

Hello @chi_kim

The exception says that the application cannot be brought to the foreground. I think you left a click activity inside the loop for excel, but you are not opening excel (using it in background mode).
UiPath wants to click the excel, but since it is not visible or cannot be brought to the foreground the activity fails and throws an exception.

Br,
Hubert