Getting around the Max String size in a vba function?

前端 未结 6 1325
北海茫月
北海茫月 2020-11-28 15:57

The max number of characters you can use in string in a vba function is 255. I am trying to run this function

Var1= 1
Var2= 2
.
.
.
Var256 =256

RunMacros=          


        
6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 16:31

    Excel only shows 255 characters but in fact if more than 255 characters are saved, to see the complete string, consult it in the immediate window

    Press Crl + G and type ?RunWhat in the immediate window and press Enter

提交回复
热议问题