Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Excel VBA digital to character?
Excel VBA digital to character?
Sub AB()\x0d\Dim Str 1$, Str2$\x0d\Str 1 = cell (1, 1). Value\x0d\Str2 = Cells( 1,2)。 value \ X0d \ MsgBox str 1+str 2 \ X0d \ end sub \ X0d \-\ X0d \ 1。 You should define the data type before using the variable, and it will be automatically converted to \x0d\2. A cell that refers to a cell, not a dot (. ), are commas (,. \ x0d \-\ x0d \ You always write three sentences, and there are many mistakes, which is not good.