책 내용 질문하기
온라인 채점 결과 문의
도서
2024 시나공 컴퓨터활용능력 1급 실기 기출문제집
페이지
0
조회수
6
작성일
2025-12-30
작성자
허*원
첨부파일
2024_최신기출유형_07회
-3. 프로시저 작업 5/15
-검색 프로시저 X [cmd검색_Click] 매크로가 정답과 다릅니다.
정답은
Private Sub cmd검색_Click()
r = cmb강사코드.ListIndex + 3
txt강사명.Value = Cells(r, 2)
txt수업과목.Value = Cells(r, 3)
txt성별.Value = Cells(r, 4)
txt수강인원.Value = Cells(r, 5)
txt근무시간.Value = Cells(r, 6)
txt근무일수.Value = Cells(r, 7)
txt월급여액.Value = Format(Cells(r, 8), "#,##0")
End Sub 입니다.
제가 적은 답은
Private Sub cmd검색_Click()
r = cmb강사코드.ListIndex + 3
txt강사명 = Cells(r, 2).Value
txt수업과목 = Cells(r, 3).Value
txt성별 = Cells(r, 4).Value
txt수강인원 = Cells(r, 5).Value
txt근무시간 = Cells(r, 6).Value
txt근무일수 = Cells(r, 7).Value
txt월급여액 = Format(Cells(r, 8), "#,##0")
End Sub 입니다 . 왜 틀렸나요?