본문 바로가기 메뉴 바로가기

Hello, Python

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Hello, Python

검색하기 폼
  • 분류 전체보기 (146)
    • Python (87)
      • tkinter (12)
    • Java (6)
      • Spring (1)
      • JPA (3)
    • MySQL (2)
    • Linux (19)
    • Virtualization (1)
    • Infra (1)
    • Network (1)
    • VBA(Excel) (19)
    • Apache (3)
    • html (1)
    • Windows (2)
    • 일상다반사 (2)
  • 방명록

속도향상 (1)
VBA(Excel), 개체변수를 사용한 속도향상

test 1과 test2의 수행속도중 개체변수를 사용한 test2가 더 빠름Application.ScreenUpdating = False 를 사용하면 속도는 더욱 빨라짐Sub test1() Dim i& Dim st st = Timer For i = 1 To 10000 ThisWorkbook.Sheets(5).Range("A1").Value = i Next i MsgBox Format(Timer - st, "#0.000") End Sub Sub test2() Dim i& Dim st Dim cel As Range st = Timer Set cel = ThisWorkbook.Sheets(5).Range("A1") For i = 1 To 10000 cel.Value = i Next i MsgBox Format..

VBA(Excel) 2016. 5. 2. 10:43
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • fetch join
  • Module
  • ManyToOne
  • activebackground
  • 리눅스
  • activeforeground
  • FetchType
  • highlightbackground
  • borderwidth
  • highlightthickness
  • Excel
  • apache
  • 폼
  • checkbutton
  • onetomany
  • IdClass
  • disabledforeground
  • Java
  • Composite Key
  • JPA
  • Linux
  • command
  • indicatoron
  • tkinter command & bind [명령어묶기와 사건묶기] Python
  • Python
  • tkinter
  • Private
  • 파이썬
  • vba
  • 상수
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바