question

bobguo-4031 avatar image
0 Votes"
bobguo-4031 asked ·

How to get single htm file from excel

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-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichardZhang-MSFT avatar image
0 Votes"
RichardZhang-MSFT answered ·

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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.