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