SAM2.zip

 

 

2015-10-20일 오후10시51분

 

 

sam.xlsx

 

 

AZ.zip

 

sam.xlsx
0.14MB
AZ.zip
0.01MB
SAM2.zip
4.86MB

'VB6,VBA' 카테고리의 다른 글

VBA 형식선언문자  (0) 2014.06.24
VB Character Type  (0) 2014.06.24
ByVal, ByRef, AddressOf  (0) 2014.06.24

가급적 쓰지 말아야 할 형식선언문자이나 알고는 있어야 될듯

 

형식선언문자

 

형식선언문자  Type
 %  Integer
 &  Long
 !  Single
 #  Double
 @  Currency
 $  String 

Boolean, Byte, Date, Object, Variant 는 형식선언문자가 없음

'VB6,VBA' 카테고리의 다른 글

삼국지2 와 엑셀파일  (0) 2015.10.19
VB Character Type  (0) 2014.06.24
ByVal, ByRef, AddressOf  (0) 2014.06.24

 이름 Chr$() 함수 vb 상수 

백스페이스

Chr$(8) vbBack 
Null Chr$(0)  vbNullChar 
수평탭 Chr$(9) vbTab 
라인피드 Chr$(10) vbLf 
수직탭 Chr$(11) vbVerticalTab
폼피드 Chr$(12) vbFormFeed
캐리지리턴 Chr$(13) vbCr
공백(SBCS) Chr$(32)  Space(1)

 

Dim s as String

s = vbNullChar

Debug.Print Len(s)

=> 1

'VB6,VBA' 카테고리의 다른 글

삼국지2 와 엑셀파일  (0) 2015.10.19
VBA 형식선언문자  (0) 2014.06.24
ByVal, ByRef, AddressOf  (0) 2014.06.24

Using ByVal asks VB to pass the value of the argument, whereas using ByRef asks VB to pass Address of (that is, a pointer to) the argument.

 

default 는 ByRef

 

AddressOf 는 function pointer 값을 추출

예) AddressOf EnumChildWndProc

'VB6,VBA' 카테고리의 다른 글

삼국지2 와 엑셀파일  (0) 2015.10.19
VBA 형식선언문자  (0) 2014.06.24
VB Character Type  (0) 2014.06.24

+ Recent posts