excel vba convert to double code example Example: vba string to double ' String to Double: myDouble = CDbl ("1,2345")