Results 1 to 3 of 3
  1. #1
    yumizena is offline Member
    Join Date
    Apr 2011
    Rep Power

    Default Remove macro in MS WORD

    I have a MS Word to PDF converter code but the problem is when the WORD document submitted contains macro's, it stops from processing. I check the document properties but I cannot find any macros into it. Is there a way to check the word document for processing to determine if it contains macro then removes it?

    I appreciate any help


  2. #2
    Jodokus's Avatar
    Jodokus is offline Senior Member
    Join Date
    Jan 2011
    Amsterdam, the Netherlands
    Rep Power

    Default Lost

    You are definitely lost here: this is a Java-forum, not VBA.
    I hope my fellow Java-freaks don't get mad at me, but I'll try to help anyway.
    (WARNING: my Word/VBA-experience ends in 2003).

    First: look for an other converter. A good converter shouldn't have problems with macro's but would probably ignore them.

    You don't find macro's in the document-properties but under tools-macro-macros(Alt-F8). You can also go straight to the Visual-basic-Editor(Alt-F11).
    You can delete them in the macro-popup or in the editor.
    Take care removing macro's: they are mostly stored in templates (sometimes in a document, but then it is mostly ment to be a virus and your virusscanner will protest.) (Macro's in) templates, especially can also be used by other documents (not very probable in your case if you never made macro's).

  3. #3
    Cbani is offline Member
    Join Date
    Jan 2010
    Rep Power


    1) Click on "Developer" tab of your document.
    2) Click on "Macros".
    3) A popup arises with the list of macros. You can either edit / delete them.

Similar Threads

  1. remove duplicate word in the string
    By katturv in forum New To Java
    Replies: 7
    Last Post: 12-19-2010, 08:16 PM
  2. how to remove word words from txt file?
    By amroosobhy in forum New To Java
    Replies: 3
    Last Post: 10-08-2010, 02:49 PM
  3. Execute Excel Macro using Java
    By rgeurts in forum New To Java
    Replies: 0
    Last Post: 05-12-2010, 03:47 PM
  4. Replies: 0
    Last Post: 01-05-2009, 11:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts