function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akshay ShrivastavaAkshay Shrivastava 

how to convert vf page into .docx format

Here is my vf page I want to convert this in the .docx format.
Right now its opening in .doc file which is not opening in mobile.

I want to open this file into Mobile. Can anyone help?


apex:page showHeader="false"
           lightningStyleSheets="true"
           controller="FridayReportController"
           applyHtmlTag="false" applyBodyTag="false"
contentType="application/msword#ManagerReport_{!todaydate}.doc"
           >
    <apex:slds />
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
        
    </head> 

                    <table style="width: 100%;" border="1" >
                        <tbody>
                            <tr>
                                <td style="background-color:#014486;color:white;font-family:Calibri">Event Date:<span style="font-weight:700">&nbsp;</span></td>
                                <td style="background-color:#FFBA0D;font-family:Calibri">Booking Id:<span style="font-weight:700">&nbsp;{</span></td>
                                <td style="background-color:#014486; color:white;font-family:Calibri">Start Time:<span style="font-weight:700">&nbsp;&nbsp;for&nbsp;&nbsp;mins</span></td>
                            </tr>
                        </tbody>
                    </table>
SwethaSwetha (Salesforce Developers) 
HI Akshay,
Based on https://dfc-org-production.force.com/forums/ForumsMain?id=9060G000000XerpQAC looks like it isn't supported.

Related Idea: https://ideas.salesforce.com/s/idea/a0B8W00000GdguCUAR/improve-pdf-rendition-generated-for-docx-files

Hope this helps. Thank you