vba convert string to boolean code example Example: vba boolean to string Dim b As Boolean Debug.Print CStr(b)