Qt to read macro in Microsoft Office documents



  • Hi, I wonder if there is existing class or method to read macro code in Microsoft Office documents, such as xlsm, docm and etc. I understand office documents structure can be open as zip file, and the marco is under vbaProject.bin, but the macro are not open text. How can I open the document and read its marco? Thanks.


  • Moderators

    @Pauly said in Qt to read macro in Microsoft Office documents:

    but the macro are not open text

    What else is it?
    I don't think Qt provides anything for this.



  • It is some kind of code like this, is it encoded or something? How can I read it? Thanks.

    ÿÿ ÿÿ ß ÿÿ  ÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ€  @ÿÿ0  0LÿÿZ 8Lÿÿž >
    ÿÿÿÿ <ð ÿÿ < ÿÿ < ÿÿ < ÿÿ < ÿÿ < ÿÿ <$ ÿÿ <( ÿÿ <, ÿÿ <0 ÿÿ <4 ÿÿ <8 ÿÿ << ÿÿ <@ ÿÿ <D ÿÿ <H ÿÿ <L ÿÿ <P ÿÿ <T ÿÿ <X ÿÿ <\ ÿÿ <` ÿÿ <d ÿÿ <h ÿÿ <l ÿÿ <p ÿÿ <t ÿÿ <x ÿÿ <| ÿÿ <€ ÿÿ <„ ÿÿ <ˆ ÿÿ <Œ ÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ  ÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ  ÿÿÿÿ Lÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ  ÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ Lÿÿÿÿ ”ÿÿÿÿ ÿÿÿÿ <ô ÿÿ <ø ÿÿ <ü ÿÿ <ÿÿÿÿ ÿÿ  ¸    0ÿÿÿÿ ÿÿÿÿ  h€20 ÿÿ h€4H   ÿÿ h€6ÿÿÿÿ  ÿÿ €<ð!  ÿÿ ÿÿ   @ ÿÿÿÿÿÿÿÿ €@° 4 ÿÿ ÿÿ   @ ÿÿÿÿÿÿÿÿ €B" D ÿÿ ÿÿ   @ ÿÿÿÿÿÿÿÿ €F@" d ÿÿ ÿÿ



  • @Pauly

    This document may be helpful for you:
    https://www.decalage.info/vba_tools


  • Moderators

    @Pauly I don't know how you can read it. Microsoft should know. This is really not related to Qt.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.