Share via

ExportAsFixedFormat2 cannot be used

Anonymous
2023-04-18T07:16:38+00:00

The ExportAsFixedFormat2 method cannot be used in VB language, but ExportAsFixedFormat is normal, is it because of my word version problem, I am word2019

Microsoft 365 and Office | Word | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Charles Kenyon 167.8K Reputation points Volunteer Moderator
    2023-04-19T18:36:27+00:00

    To make code more understandable, try to limit it to one command or statement per line.

    You can paste code here and if long statements, can use the Code Block instead of Standard formatting.

    It appears that the "object" being referred to is the fetched .docx file.

    What happens if you first open that file and then use the method.

    (I am far from a vba expert. Someone else may come along with better suggestions.)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-04-19T02:36:29+00:00

    Sorry, it's VBA. the error message is "Object doesn't support this property or method".

    Was this answer helpful?

    0 comments No comments
  3. Charles Kenyon 167.8K Reputation points Volunteer Moderator
    2023-04-19T02:25:07+00:00

    ***

    I am Microsoft Office Professional Plus 2019, Microsoft Word 2019 MSO(10.0.10397.20021)64 bit

    It should be working in that version of Word.

    Are you using VBA or VB? (I do not know that it makes any difference.)

    When you say the prompt doesn't support this method do you mean the error message is "doesn't support this method" or is "the prompt doesn't support this method?" (I'm sorry, I can't read the message in the error box.)

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-04-19T01:49:02+00:00

    This doesn't seem to solve my problem, I am Microsoft Office Professional Plus 2019, Microsoft Word 2019 MSO(10.0.10397.20021)64 bit

    Was this answer helpful?

    0 comments No comments
  5. Charles Kenyon 167.8K Reputation points Volunteer Moderator
    2023-04-18T15:16:05+00:00

    Was this answer helpful?

    0 comments No comments