VB6/VBA functions to convert binary string to Base64 string - Travis' Blog
Here are some functions to convert a binary string, to a byte array, to a Base64 string and then back to a byte array and binary string. Run tester to see it in action, enjoy. Private Function encodeBase64(ByRef arrData() As Byte) As String Dim objXML As ...