title: Convert image (jpg) to base64 in Excel VBA?
body: <p>I need to <strong>convert an image inside Excel</strong> (or through VBA) <strong>to base64</strong> (in the end I will make XML output).</p>
  
  <p>How can I do this? Do I need to make a reference to DOM?</p>
  
  <p>I´ve been reading <a href="https://stackoverflow.com/questions/169907/how-do-i-base64-encode-a-string-efficiently-using-excel-vba">this question</a> but it only works for text strings not images...</p>
  
  <p>Does anyone have any code that I can see?</p>