책 내용 질문하기
변수명도 정확히 맞춰야 하나요?
도서
2026 시나공 컴퓨터활용능력1급 실기 기본서
페이지
96
조회수
14
작성일
2026-09-20
작성자
임*연
첨부파일

다음 코드는 오답으로 처리되었습니다.


Private Sub cmd검색_Click()

thisRow = cmb가입자명.ListIndex + 4

txt상품종류.Value = Cells(thisRow, 3)

txt지점명.Value = Cells(thisRow, 4)

txt성별.Value = Cells(thisRow, 5)

txt가입일.Value = Cells(thisRow, 6)

txt납입시점.Value = Cells(thisRow, 7)

txt연이율.Value = Format(Cells(thisRow, 8), "0.0%")

txt월불입액.Value = Format(Cells(thisRow, 9), "#,###")

End Sub


변수명을 "참조행"이 아닌 "thisRow"로 썼다는 이유로 5점이 까였네요.

· 5MB 이하의 zip, 문서, 이미지 파일만 가능합니다.
· 폭언, 욕설, 비방 등은 관리자에 의해 경고없이 삭제됩니다.