How to get single htm file from excel

bob guo 1 Reputation point
2020-05-16T17:40:56.363+00:00

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
70i8Q5QralM4IITW7kDhCBMaDxAlbhvROFGcle3tSdZNgokh7Rjb3+8vyWK5tSObIJBxWPPbsuIM

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.
35,882 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Richard Zhang-MSFT 6,936 Reputation points
    2020-05-18T05:07:52.973+00:00

    Hello,

    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.

    Thanks.

    0 comments No comments