+ Reply to Thread
Results 1 to 3 of 3

How to create docx file

  1. #1
    Registered User
    Join Date
    11-27-2018
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    27

    Question How to create docx file

    Hi everyone,

    I use following code to create a word file:
    Please Login or Register  to view this content.
    The code creates a doc file.
    If I would like to create a docx file, what should I change the code ?

  2. #2
    Registered User
    Join Date
    06-11-2018
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    19

    Re: How to create docx file

    Just add "x" letter in the path:
    C:\Foldername\MyNewWordDoc.docx

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-27-2018
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    27

    Re: How to create docx file

    Thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export a cell containing text into a .docx file - keep formatting
    By ocor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2014, 05:28 PM
  2. [SOLVED] .DOCX File - Unable to add text to fields
    By DavoP in forum Word Formatting & General
    Replies: 4
    Last Post: 05-08-2014, 03:38 AM
  3. Include a DOCX file when exporting Excel to PDF
    By andyb63uk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 08:17 PM
  4. Replies: 0
    Last Post: 08-23-2013, 07:57 AM
  5. Search for a docx file and extract info from it's name
    By Zapdor in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-18-2012, 07:23 PM
  6. Compiling .docx files into a single .xls file
    By Cheshire in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-11-2010, 03:46 PM
  7. Macro to copy & paste the contents of a docx file into xls?
    By Cheshire in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2010, 02:48 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1