How to extract the Microsoft Word Document property

I am helping to design a tool to extract the document property data from microsoft before a file is saved or converted into other form. Does anyone knows what method we can use to extract the data?
Thanks so much!
 

Hi,
>>Currently I want to write a macro to extract the document property into a text file when the file is converted into PDF form! Can you tell me how to do that?<<
If you want to write the string into text file, we can use open and write statement in VBA. Also here is a samlpe that write "Hello Word" into a text file:
Sub WriteFile()
Open "c:\users\UserName\desktop\Support.log" For Append As #1
Write #1, "Hello World"
Close #1
End Sub
You can get more detail about writing file from link below:
Write # Statement
However, as far as I know, there is no such event in Word we can detect the uses converted the document into PDF format. You may consider using
Application.DocumentBeforeSave Event or you can submit the feedback from link below if you want Word application to support this event:
Submit Feedback - Microsoft Support
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to extract the actual XML document from soap message?

    My problem is " how to extract the actual XML document from soap message? "
    i just want to extract the attachment i.e. (pure XML document without any soap header or envolope).
    i could be ver thank full if u could solve my problem.
    [email protected]

    Hi,
    This is some skeleton code for extracting an attachment from a SOAPMessage.
    import javax.activation.DataHandler.;
    import javax.xml.soap.*;
    import javax.xml.message.*;
    Iterator allAttachments = message.getAttachments();
    AttachmentPart ap1 = null;
    while(allAttachments.hasNext()){
    ap1 = (AttachmentPart)allAttachments.next();
    //Check that the attachment is correct one. By looking at its mime headers
    //Convert the attachment part into its DOM representation:
    if(ap1.getContentType() == "text/xml"){
    //Use the activation dataHandler class to extract the content, then create a StreamSource from
    //the content.
    DataHandler attachmentContent = ap1.getDataHandler();
    StreamSource attachmentStream = new StreamSource(attachmentContent.getInputStream());
    DOMResult domAttachment = getDOMResult(attachmentStream);
    domAttachment holds an xml representation of the attachment.
    Hope this helps.

  • How can Tiger open Microsoft Word documents sent by e-mail?

    I recently upgraded to Tiger and use Appleworks 6, which is unable to read the Microsoft Word documents I frequently receive by e-mail. Is there any way I could read such documents, or should I get Microsoft Word? If so, which number/level would you advise? (I'm happy with Appleworks.)

    Do the problematic Word attachments end in ".doc" or in ".docx"?
    Neither AppleWorks 6 nor TextEdit will handle Microsoft's marketing-driven "improved" file format used in Mac Office 2008 / Windows Office 2007 (which is almost-but-not-really based on XML). There's a backwards-compatible option in those versions of Word to "Save As" Word 97 -2004 format (.doc). The practical solution where I work is to track down anyone sending .docx and threaten them with grievous bodily harm unless they resend as .doc and swear to never use .docx again.
    Microsoft has a converter that (allegedly) converts the new format to the vastly more common one, but that requires a previous copy of Office (Office 2004 or Office X).
    You can try the Mac OS X Dashboard widget DocX Converter instead.

  • How do I change microsoft word documents to mac documents

    I am trying to open a flah drive with microsoft word documents. How do I do this?

    You can not convert Word file directly to PDF with Workspaces.  Please take a look at these services:
    Acrobat Plus
    Adobe PDF Pack

  • TS3276 How do I open Microsoft word documents in a Email since Maverick does not recognize MS Word?

    How do I open a Microsoft Word cocument in a Email since I upgraded to Maverick. Maverick does not recognize MS Word, Excel and Power Point.

    MS Office 2008 and 2011 work fine in Mavericks. What version are you using? You can always use a program such as Open Office to open the docs.
    Pete

  • How do I open Microsoft Word documents?

    When i double-click. Word documents there is an unspecified error in opening the documents on myniPad 1.  any suggestions?

    How did you get them onto the iPad? Where are you looking at them? There is no double-clicking involved - just tap on it once, depending on the app you're in.
    If you mail them to yourself, you should be able to view them on the iPad in mail. If you want to edit them, you'll have to purchase an app such as Documents to Go.

  • Importing Microsoft word documents that already have paragraph styles

    Hello. I have been trying to figure out how to do this for months, this was taught to me many months ago but for some odd reason when I tried it myself it didn't work . I have my paragraph styles all set up in my indesign document. I have to import text that another person is giving me. The document that this person is giving me is a Microsoft word document. Someone showed me that you can customize the document in microsoft word, with styles for example: Selecting a part of text and customizing it (making it big and bold for example), then naming that style Heading, and then doing the same for lets say...a subheading. Well after you save the document (the microsoft word document), you are able to import the word document into your indesign file and it's supposed to override the styles from Microsoft Word and customize itself with your own paragraph or character styles that you already have in your indesign document, as long as the name of the styles are the same as the ones you had in microsoft word(which in this case would be heading and subheading). Any help would be greatly appreciated.
    Thanks!

    Convert Word styles to InDesign styles
    Here's the info you need. I found it in the InDesign Help section. I needed it, too. The "Show Import Options" is a little box in the lower left hand corner of the screen that comes up when you choose the file you want to place in InDesign. It's easy to miss.
    While importing a Microsoft Word document into InDesign or InCopy, you can map each style used in Word to a corresponding style in InDesign or InCopy. By doing so, you specify which styles format the imported text. A disk icon appears next to each imported Word style until you edit the style in InDesign or InCopy.
    Do one of the following:
    To add the Word document to existing text in InDesign or InCopy, choose File > Place. Select Show Import Options, and then double-click the Word document.
    To open the Word document in a stand-alone InCopy document, start InCopy, choose File > Open, and then double-click the Word file.
    Select Preserve Styles and Formatting From Text and Tables.
    Select Customized Style Import, and then click Style Mapping.
    In the Style Mapping dialog box, select the Word style, and then select an option from the menu under InDesign style. You can choose the following options:
    If there is no style name conflict, choose New Paragraph Style, New Character Style, or choose an existing InDesign style.
    If there is a style name conflict, choose Redefine InDesign Style to format the imported style text with the Word style. Choose an existing InDesign style to format the imported style text with the InDesign style. Choose Auto Rename to rename the Word style.
    Click OK to close the Style Mapping dialog box, and then click OK to import the document.
    Marilyn

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • HT2506 hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • How do I retain Microsoft Word hyperlinks (internal to the Word document) in pdf export?

    How do I retain Microsoft Word hyperlinks (internal to the Word document) in pdf export? I lose them in process. Using Word 2011 (14.4.3) and Mavericks. Have tried importing to Pages 5.2 and exporting, but that does not work either.

    If you don't get an answer here, search/ask in the forums devoted entirely to MS stuff by its maker.  These forums are for the Apple app Pages.
    http://answers.microsoft.com/en-us/mac/forum/macword

  • HELP!!!! I have spent hours trying to find out how to embed an image with a link or a Microsoft Word document with a hyperlink built within the document -- not as an attachment! Does ANYONE know the secret? Can it be done, or not! My PC clients do it.

    HELP!!!! I have spent hours trying to find out how to embed an image with a link, or embed a Microsoft Word document with a hyperlink built within the document -- not as an attachment into my email -- but where it shows as the email content when opened! Does ANYONE know the secret? Can it be done, or not? My PC clients do it all the time easily. Then I want to be able to send the embedded image/document (not as an attachment, but visable within the email when opened) to many email contacts at once, BUT the individuals receiveing them DO NOT SEE the other email contacts. Cannot seem to be able to find anything on being able to do these 2 tasks.PLEASE, SOMEONE, HELP!!!

    Don't know if this applies to Lion, but read here:
    http://www.makeuseof.com/tag/create-html-announcement-mail-iweb-mac/

  • How can I split the window in the document I work like I can in the Microsoft Word

    How can I split the window in the document I work like I can in the Microsoft Word? So I can see in the same time the start and the end of the document!

    I also agree it's a needed feature. I suggest you leave feedback for the Pages team regarding this. You can find it under the Pages menu > Provide Pages Feedback. That takes you to the same page as this link.

  • The Microsoft Word suddenly quit on my iMac desktop. How can I access the documents saved in desktop ?

    What made the Microsoft Word  ( 2011) quit on my iMac desktop ( OSX10.10.1 ) suddenly ?
    I need to access the documents saved on my desktop. Please help, anybody ?

    GLORIADONM wrote:
    What made the Microsoft Word  ( 2011) quit on my iMac desktop ( OSX10.10.1 ) suddenly ?
    Nobody here would know that.
    I need to access the documents saved on my desktop.
    Okay, so then go to the folder where you saved them, and open them

  • How do I convert a pdf in Adobe Acrobat 9 to Microsoft Word document?

    How do I convert a pdf in Acrobat 9 to a Microsoft Word document?

    Hi fireatty,
    In Acrobat 9, you can use the Export command (File > Export) to export your PDF to Word format.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e

    Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e mail in order too send Also, I have not been able to safe a download files on my iPAD as I do not have a download manager on it. Please, kindly send to me ways of getting these problems fixed as i am a young resarcher who sends a lot of mails and download as wel. Als, I am always on the move as this has propmted me in the first place to get an IPAD .
    Last but not the list II will equally wish to know if it will be possible for  me to use a pen to take seminar notes on my iPAD and safe the same on my iPAD fr later reference as it is done on other tablets ke samsung. I read somethng like stylus pen but I don't know how far. Please, kindly make an appropriate recommendaton for me and where i can get it. I reside in Turkey and currently a Ph.D stuudent in ine of the leading niversities in the country. Also, I will like to know if you ave ecoonomics text books that I can buy or published journas in apple store because i have searched but could not get  a desirerable ones.
    Once again, thanks for your anticipated prompt rely to my mail.
    Regards
    Wasu Fawole

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

Maybe you are looking for

  • When I search a music artist in the itunes store and then click to view all albums the screen is blank.

    When I search a music artist in the itunes store and then click to view all albums the screen is blank. Why is itunes store not showing me all of the Albums?

  • My iPhone 4s will no longer connect to my computer

    My iPhone 4s will no longer connect to my computer. I recently converted to iOS6. I am not sure if problem started before or after conversion. It used to connect to computer (using XP professional) via hotwire but no longer connects. I tried connecti

  • Open Item management-4.6c version

    Hi Gurus, Unfortunately I created some GL accounts as a Balance sheet account and I activated  open item management. Now the requirement is need to deactivate the open item management and fix the P&L. Account. Pls guide me step by step. Regards, Bhar

  • Officejet 7410 All-in-One won't start

    Have used the printer successfully for four years.  Recently: 1) 'On' button stopped operating.  Need to plug/unplug the power cord to turn the printer on/off. 2) When power is applied to the printer it appears to be in a perpetual boot.  It does the

  • WRT54G v1.1 DNS problems

    My WRT54G is not working properly. I have the latest firmware installed, and i am still getting DNS errors. My wired computers cannot access the internet, but my laptop CAN connect wirelessly. Also, programs like skype can connect to the internet, bu