Hi How to assign to string char #4? Dim s as String s=Chr(0) 'OK, value of s is #0 s=Chr(4) 'the xml was improperly formatted s=s&"some text" 'the xml was improperly formatted It worked properly one month...