How to get single htm file from excel

bob guo 1 Reputation point

I need to save excel file to htm, the images in excel will be saved as files in disk drive, the htm file contains image file reference , so the result will be multiple files.

This is not convenient when pblishing to website or email to others, so I study the htm file with notepad, I find it seams contains image data already in format base64 in <v:shape o:gfxdata> elemnets, like this:

<v:shape id="picture_x0020_2" o:spid="_x0000_s2052" type="#_x0000_t75" alt="1.PNG" style='position:absolute;margin-left:0;margin-top:0;width:96pt;height:1in;z-index:1;visibility:visible' o:gfxdata="UEsDBBQABgAIAAAAIQBamK3CDAEAABgCAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRwU7DMAyG

I want to know if there is any way to use these imagedata directly in htm file? If it's the true, the image file and the reference can be deleted, the result will be single htm file. It's will be very kind.

Thanks a lot.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,913 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Richard Zhang-MSFT 6,921 Reputation points


    Welcome to Microsoft Q&A!

    Your question involves excel and html. Currently Q&A platform does not support this topic.

    For the parts related to Excel, you can inquire in the Excel for Developers forum, for other content, you can query the relevant forums.


    No comments