책 내용 질문하기
2010년3회 1급 E형 질문이요
도서
[2014] 컴퓨터활용능력 1급 실기(엑셀, 액세스 2007 사용자용)
페이지
조회수
120
작성일
2014-02-13
작성자
첨부파일
채점프로그램으로 돌려보니 기타작업에 데이터 추가에 폼의 입력결과, B6에 입력된값("")이 정답('테스트')과 다릅니다. 폼의 cmd등록_click 프로시저가 잘못됐을 수 있습니다. 라고 나오는데
제가 푼것은
입력행 = Range("b4").CurrentRegion.Rows.Count + 5
참조행 = list담당자.ListIndex
Cells(입력행, 2) = txt학생이름
Cells(입력행, 3) = txt나이
Cells(입력행, 4) = cmb수강과목
Cells(입력행, 3) = txt나이
Cells(입력행, 4) = cmb수강과목
Cells(입력행, 5) = list담당자.List(참조행, 1)
Cells(입력행, 6) = list담당자.List(참조행, 2)
Cells(입력행, 7) = list담당자.List(참조행, 4)
Cells(입력행, 6) = list담당자.List(참조행, 2)
Cells(입력행, 7) = list담당자.List(참조행, 4)
입니다.
뭐가 틀린것인지 이해가 안가서 질문합니다
답변
2014-02-13 02:40:41
입력행 = Range("b4").CurrentRegion.Rows.Count + 5
참조행 = list담당자.ListIndex
Cells(입력행, 2) = txt학생이름
Cells(입력행, 3) = txt나이
Cells(입력행, 4) = cmb수강과목
Cells(입력행, 5) = list담당자.List(참조행, 1)
Cells(입력행, 6) = list담당자.List(참조행, 2)
Cells(입력행, 7) = list담당자.List(참조행, 4)
Cells(입력행, 2) = txt학생이름
Cells(입력행, 3) = txt나이
Cells(입력행, 4) = cmb수강과목
Cells(입력행, 5) = list담당자.List(참조행, 1)
Cells(입력행, 6) = list담당자.List(참조행, 2)
Cells(입력행, 7) = list담당자.List(참조행, 4)
+5 가 아니라 +4 로 해야 정확히 지정되네요.
다시 한번 확인해 보시기 바랍니다.
좋은 하루 되세요.
"
-
*2014-02-13 02:40:41
입력행 = Range("b4").CurrentRegion.Rows.Count + 5
참조행 = list담당자.ListIndex
Cells(입력행, 2) = txt학생이름
Cells(입력행, 3) = txt나이
Cells(입력행, 4) = cmb수강과목
Cells(입력행, 5) = list담당자.List(참조행, 1)
Cells(입력행, 6) = list담당자.List(참조행, 2)
Cells(입력행, 7) = list담당자.List(참조행, 4)+5 가 아니라 +4 로 해야 정확히 지정되네요.다시 한번 확인해 보시기 바랍니다.좋은 하루 되세요."