简体   繁体   中英

VBA what does * 1 mean when declaring a variable?

I have seen VBA code that declares a variable like this

Dim name As String * 1

what does * 1 mean?

It designates the length of the string in characters. String*n is a fixed length string of n characters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM