VBA(Excel), Public,Static,Private
Private Sub test1()Dim i as Intergeri = 100 + iEnd sub> 프로시저를 실행할때마다 100 출력> 선언된 모듈내의 다른 프로시저에서만 호출 가능, 다른 모듈에서 호출 불가 Public Sub test1()Dim i as Intergeri = 100 + iEnd sub> 프로시저를 실행할때마다 100 출력> 다른 모듈에서 호출가능 Static Sub test1()Dim i as Intergeri = 100 + iEnd sub> 프로시저를 실행할때마다 100을 더한값을 출력> 다른 모듈에서 호출가능
VBA(Excel)
2016. 5. 2. 10:38
VBA(Excel), Option키워드
1. Option Base [n]배열을 선언할 때 사용하며 기본값은 0배열의 첨자가 n부터 시작 2. Option Compare [Binary, Text, Database]- Option Compare Binary [기본값]> 문자를 Binary값으로 구분"a" = "A" : 다름 - Option Compare Text> 문자를 Text형태로 구분"a" = "A" : 같음 - Option Compare Database> 3. Option Explicit모든 변수/상수가 명시적으로 선언되어야 하고 그렇지 않았을 때 자동으로 오류 발생 4. Option Private ModuleC++의 Private함수처럼 여러 통합문서를 켜 놓고 왔다갔다 사용할수 있음 - 출처 -http://minniegong.tisto..
VBA(Excel)
2016. 4. 27. 14:06
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- command
- indicatoron
- tkinter
- activebackground
- ManyToOne
- Private
- tkinter command & bind [명령어묶기와 사건묶기] Python
- highlightbackground
- IdClass
- 폼
- Composite Key
- fetch join
- vba
- 파이썬
- JPA
- borderwidth
- 리눅스
- Java
- Excel
- activeforeground
- highlightthickness
- onetomany
- checkbutton
- Linux
- apache
- Python
- 상수
- Module
- disabledforeground
- FetchType
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함