비주얼베이직

JJpapa Works

excel-vba] win10 SpecialFolders

SpecialFolders Property Returns a SpecialFolders object (a collection of special folders). Syntax object.SpecialFolders(objWshSpecialFolders) Arguments object WshShell object. objWshSpecialFolders The name of the special folder. Remarks The WshSpecialFolders object is a collection. It contains the entire set of Windows special folders, such as the Desktop folder, the Start Menu folder, and…

JJpapa Works

VBA 문자관련 함수 설명

– 함수 설명  Left$( 문자열, 길이 ) : 문자열의 좌측으로부터 해당 길이만큼 문자열을 뽑아옵니다. * 참고: LeftB$( 문자열, 바이트 수 ): 바이트 단위로 뽑아옵니다. ex) MsgBox Left$(“Hello World!”, 7) ‘ Hello W   Mid$( 문자열, 시작 위치 [, 길이] ) : 문자열의 중간부분부터 해당 길이만큼 문자열을 뽑아옵니다. – ‘길이’를 생략하면…