Save a doc Docx

Hello

I'm building a tool for our team. One of its features must be the ability to change a docx doc file, but so far I couldn't really figure out how to convert the file. I use tools to generate report for a few other features.

I'm not a pro in visual basic for applications, but I made a macro that I insert and remove with labview in another goal. So far, I wasn't able to make a good macro that saves files in a doc withouth change anything.

Can anyone recommend a solutiuon for this problem? A visual basic macro or labview solution is fine or some advice on how to solve it on my own.

Much appreciated! Thanks in advance!

Oops, I made a stupid mistake speaking of Excel.  Talking Word, not Excel, while I was 'thinking' Excel yet said ".doc" and ".docx".  However, I think that the same principle should apply.  I understand that you have not tried my suggestion of a "three step process", nor my suggestion to post a sample ".docx" for us to try, so I'll go through the steps again, with explanation.  You don't have to try this - you can just say ' thanks for trying to help, but I'm not going to listen to you. "  I'll be disappointed, but not insulted...

  1. Let's say that your document is called "My Doc.docx".
  2. Make a 'new report', specifying 'Word' with 'My Doc.docx' as the 'Template '.  Note that this is not the same is defined as a Word (.dot or .dotx file) - template it is a term of LabVIEW.
  3. Do a "save report in a file", by specifying the name of 'My DRAFT_David_French_version_.doc' (not .docx).  You will need the full file path, of course.
  4. Throw the report and put an end to the program.

Try this.  If it does not or does something unexpected, a report (and provide an example of .docx file!).  Or say "Sorry, I don't want try your suggestion, but thanks for trying to help" and I'll stop trying to help you.

Bob Schor

Tags: NI Software

Similar Questions

  • PRO MFPM127fw: HP scan does not save the doc

    Hello! After update on my MAC, HP scan changed the name of the document to the PREFIX.

    Everything I put in this new column (numbers, letters, signs of 3 to 10 signs), the Save button just stays grey. So, I can not actually save the doc.

    Please tell us what to do

    Hello @khlopkov, greetings!

    Welcome to the HP Forum! It is a wonderful location to converse with the community, get help and advice.

    I see you are using a MAC Sierra and encounters a problem during analysis. I will do my best to help you solve the problem.

    I recommend you to try to use easy to analyze in the MAC Sierra HP scanning app. Go to http://hp.care/2dVzZC9 for instructions on how to download and use the easy scanning HP application.

    Please let me know if it works for you. Nice day!

    See you soon

    Please click on 'acceptable' on the post that solves your problem to help others to find the solution. To show gratitude for my help, please click the 'Thumbs Up icon' below!

  • users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    I am the Director of technical support for more than 1000 computers. Recently in some computers (windows based) users cannot save .pdf, .doc files using "Save target as" in google search results. Can someone help me, I couldn't have known that the same works very well on some computers.

    Hi MASPAdministrator,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

  • Why won't save UDisks docs?

    Hello

    I don't usually use "sticks", but will my laptop for service & I need to

    Save a doc that is important.  There seems to be nothing on AutoPlay by default for

    Save a document and the 'stick' keeps 'open folder to view files '.

    Laptop goes into this afternoon then HELP!

    Hello

    Plug the USB > go to where you have the Doc, etc. sauvΘs > right click on what you want to save or copy on memory stick > a menu will appear > move your mouse cursor on ' send to ' > in the next menu, select Memory Stick drive letter by clicking > then check your copied document.

    See you soon.

  • Saving files: when I go to save a doc word on my desk I can't cite my paper

    Out of the blue, now when I go to save a doc word on my desktop, I can't cite my paper.  As soon as I start typing the name, it starts to scroll wildly all my existing files that begin with the first letter of the file I am trying to nominate and I can't remove it.  What is going on?  I never had this before and it's very frustrating!

    Thank you.

    Hi Behindthe8ball,
     
    1. were you able to save the files to the C:/front drive with no problems?
    2 did you do with the last changes made on the computer before the broadcast took place?
    3. is the computer connected to the domain?
    4. What if this problem occurs with other types of file?
    Method 1:

    Find the problem in safe mode.

    Start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
       
    Method 2:
      

    I suggest to create a new user account and check. If it works in a new user account, then probably your user account have been damaged and would need a fix.

     
     
    Now search for the question.
     
    Follow the link provided below to fix the damaged user profile.
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Open a new doc/docx/txt in edit mode

    I do a soft, that creates a doc/docx/txt file (with qfile, open and close the file, so it's an empty file). Right after that the file is created, I invoke docs to go into edit mode to modify the file. But when open app I get this message 'this file is not a valid file .doc' but if I invoke the preview generator, it opens without any problem, what Miss me?

    Here's the function that is called

    void ApplicationUI::newNote( bool docx,QString name)
    {
        QString recString;
        request = new InvokeRequest();
        QVariantMap meta;
        if(name.isEmpty()){
            if(docx){
                recString = "document%1.doc";
                request->setMimeType("application/msword");
            }else{
                recString = "note%1.txt";
                //request->setMimeType("text/plain");
            }
    
         recString=recString.arg(QDateTime::currentDateTime().toString("yyyy-M-d_hh-m-ss"));
        }
        else
            recString = name;
    
        QFile file (QDir::homePath()+"/Notes/"+recString);
            qDebug() << "file exists" << file.exists();
            qDebug() << "File Open" << file.open(QFile::ReadWrite);
            file.close();
    
        request->setTarget("sys.dxtg.stg");
        request->setFileTransferMode(FileTransferMode::CopyReadWrite);
        qDebug() << "Uri file " << QDir::homePath()+"/Notes/"+recString;
    
        request->setUri("file://"+ QDir::homePath()+"/Notes/"+recString);
    
        manager->invoke(*request);
    }
    

    Hi silajim,

    You did nothing other than following what BlackBerry noted in their docs, but unfortunately the official called doc invoking Core Apps has some errors in section Documents To Go, and I never took the time to write to BlackBerry to let them know.

    Fortunately, the errors are pretty obvious if you try to understand what are the target of call used.

    So in your example, you want to call app "Word To Go", which is the text of Documents To Go document Manager. But, if you reduce the application that is opened from your invocation, you will notice that you call in fact "Sheet To Go", the Manager of spreadsheet of Documents To Go. Why?

    Look at the target of call:
    sys.dxtg.STG

    'stg' here means 'Sheet To Go'. What you need to do is to replace "stg" by "wind turbines" (Word To Go).

    So your code is correct, simply change the target:
    sys.dxtg.WTG

    I know, you followed the official docs and it says to use the target of ILI, any other said, I find the docs to be precise, most of the time and I continue to read the docs and follow their examples of code, but sometimes mistakes happen (they are written by humans after all) and I'll try to report these errors to the BlackBerry team once I had the time to test them all.

  • Adobe Reader will not save a doc, since the update of the anniversary of Win10.

    Given that the Win10 birthday update, Adobe Reader (more later 15.017.20053) won't save a doc.  The doc will load, but when backup option is attempted, the void otherwise save the window pop and hold with an alternation of 2 x 2 table box is displayed.  2 x 2 flashes (not stable) If table not save window is empty.  Will not save the docs that would save before update since the update.

    The problem has been resolved by uninstalling the CD player and reinstall as suggested by Ms Community.

    I don't know if the suggestions of Shivam or Scottie1104 would have solved the problem, doesn't have the chance to try them.

    Thanks for the suggestions!

  • Restict the spare file type be limited pdf, gif, jpeg, doc, docx, xls, xlsx.

    Dear friends,

    I created document attchemnt interface. Now I need to join the only type of file of pdf, gif, jpeg, doc, docx, xls, xlsx.

    How to validate an attchmnet with this type of file.

    Thank you

    Hi Maxence,

    Create a Page level Validation of Type - Regular Expression against your point to browse file.

    Validation expression 1: P1_FILE (assuming your name of the item to be P1_FILE)

    Validation expression 2: ^. + \. ((pdf) |) (gif) | (jpeg) | (doc) | (docx). (xls). (xlsx)) $

    Give a desired state.

  • Open extensions Manager * FM, *.pdf,.doc, *.docx files in In Design?

    Open extensions Manager * FM, *.pdf,.doc, *.docx files in In Design?   How does it work? @ !

    Hello, no I'm afraid not. Extension Manager uncompresses the ZXP files as its primary role. Whatever files are located in ZXP file will be unzipped to their specified location, for example, in the folder of scripts InDesign, the office, or just everywhere where the producer of the content specified files should go.

  • to record on in .doc .docx NOT

    an online application only accepts my CV as a .doc, but I can save only outside it as a .docx, I tried all the file extensions for the doc, but they all end up as docx

    Hello

    Check in the Forums Office.

    Answers - Office Forums
    http://answers.Microsoft.com/en-us/Office/default.aspx#tab=1

    You can use a converter (on a copy of the file) to convert it to standard doc format.

    Convert DOCX (.docx) Doc
    http://www.docx2doc.com/

    There are other conversion using Google sites.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • hp3512 will not ley me save scanned doc to word doc.

    hp3512 will not ley save me scanned doc to word doc it gives only metheoptions save to JPEG, format PDF ortiff. How can this be repaired?

    Hi lake1998,

    When you save a document format, you are talking about OCR or optical character recognition.  The 3512 Deskjet will allow you to save the files analyzed in the formats listed, but it doesn't have a built in OCR.

    This thread has identified solutions that may work for you.

    http://h30434.www3.HP.com/T5/scanning-faxing-and-copying/is-it-possible-to-find-an-OCR-SW-for-the-HP-DeskJet-5525/m-p/3520899/highlight/true#M81608

  • Save a doc page 2 page 3 on a file server

    I have a user who is trying to take a file from adobe page 3 and only save page 2 on its local disk,

    Here's how she does it.

    Open the doc

    go to file > print >

    We do not see adobe PDF option

    It is the reader of aodbe XI

    thanksMike

    Adobe Reader does not have the print to pdf option. It would be Acrobat.

    Player cannot split pdf files.

  • HP deskjet 2135:0 documents waiting for..., Hp deskjet 2135, 10 64-bit windows, I can't print pdf, doc, docx.

    Hi all

    I hope someone can help me

    I installed my printer Hp deskjet 2135 on my laptop Hp, 10 64-bit windows, but I can't print pdf and doc. files, I still have 0 documents pending on adobe and microsoft word.

    The printer works when I print the test page to the doctor of hp and his work on other windows 32-bit computer laptop 10.

    I tried to uninstall and re install and many soloutions here and on the microsoft forum, but nothing worked.

    Please any help.

    Dear Sir

    Thanks a lot for answering

    I tried every step with care, now the situation is:

    I can print to adobe pdf and Notepad documents.

    But microsoft Office isn't printing,

    even I tried to change the setting from letter to A4 paper, and when I use the parameter A4, I got a massege of margins, excel tell me that there something wronge with the printer, in the letter not defining any masseges in both applications but still have 0 documents pending to (Administrator)

    Any help please.

  • How can I change my format to save the doc to something else so that others can open it?

    I worked on a Football program, and no one can open projects.  I'm on a vista under microsoft office program.  Help, please

    I worked on a Football program, and no one can open projects.  I'm on a vista under microsoft office program.  Help, please

    The title of this thread mentions "doc".
    If you have saved the project football in .doc format? Look at the saved project. Represents the last 3 letters... .doc ?
    If Yes, then you need a FREE Microsoft Word Viewer program to open it.
    Here is the link to the Download Center:

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=3657ce88-7cfa-457a-9aec-f4f827f20cac&displaylang=en

    t-4-2

  • How can I save my doc. In pdf and JPEG not?

    Hello!!! I would like to know if it is possible to save the draw in high quality because it let me just save it in JPEG format and the quality is not good, I want it vectorize is supposed to be, not not even when I send it to my email, the document she sends it is not PDF and JPEG. Someone help? with adobe illustration draw

    Mireia SALVATION,

    Unfortunately there is no option in Adobe draw to export a PDF file. When you use the latest version of Adobe Illustrator creative cloud, sending to the Illustrator button appears in the menu share. Tapping it will send the work, including all vectors and on your desk, but each time Illustrator layers that you save in the creative cloud or save the Image it records as a .png.

    Sue.

Maybe you are looking for