Note: The other languages of the website are Google-translated. Back to English
Vpiši se  \/ 
x
or
x
Registracija  \/ 
x

or

Kako v Wordu paketno pretvoriti datoteke formata .doc v .docx?

Recimo, da ste prejeli nekaj Wordovih dokumentov formata 97-2003, kako lahko paketno pretvorite vse te dokumente formata .doc v .docx format hkrati? Ta članek vam bo pokazal dva načina za rešitev te težave.

Datoteke v formatu .doc pretvorite v .docx s kodo VBA
Datoteke v obliki .doc v paketu pretvorite v .docx s programom Kutools for Word


Datoteke v formatu .doc pretvorite v .docx s kodo VBA

Ta razdelek vam bo prikazal kodo VBA za pretvorbo vseh dokumentov formata .doc v določeni mapi naenkrat v dokumente .docx. Naredite naslednje.

1. V določeno mapo zberite vse dokumente v obliki .doc, ki jih boste pretvorili v .docx.

2. Pritisnite druga + F11 ključ, da odprete Microsoft Visual Basic za aplikacije okno.

3. V oknu kliknite Vstavi > Moduli. Nato kopirajte spodnjo kodo VBA v okno modula.

Koda VBA: paketno pretvorite vse dokumente v obliki .doc v .docx v določeni mapi

Sub ConvertDocToDocx()
'Updated by ExtendOffice 20181128
    Dim xDlg As FileDialog
    Dim xFolder As Variant
    Dim xFileName As String
    Application.ScreenUpdating = False
    Set xDlg = Application.FileDialog(msoFileDialogFolderPicker)
    If xDlg.Show <> -1 Then Exit Sub
    xFolder = xDlg.SelectedItems(1) + "\"
    xFileName = Dir(xFolder & "*.doc", vbNormal)
    While xFileName <> ""
        Documents.Open FileName:=xFolder & xFileName, _
            ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _
            PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
            WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _
            wdOpenFormatAuto, XMLTransform:=""
        ActiveDocument.SaveAs xFolder & Replace(xFileName, "doc", "docx"), wdFormatDocumentDefault
        ActiveDocument.Close
        xFileName = Dir()
    Wend
    Application.ScreenUpdating = True
End Sub

4. Pritisnite F5 tipko za zagon kode. V uvodu Brskanje izberite mapo, ki vsebuje dokumente v obliki .doc, in kliknite OK. Oglejte si posnetek zaslona:

Nato se vsi dokumenti v .doc formatu takoj pretvorijo v dokumente .docx, kot je prikazano spodaj.


Datoteke v obliki .doc v paketu pretvorite v .docx s programom Kutools for Word

V tem poglavju bo priporočen priročen pripomoček. Z Doc / Docx uporabnost Kutools za Word, vse dokumente v obliki .doc v mapi lahko enostavno pretvorite v dokumente .docx. Poskusite, kot sledi.

Kutools za Word : Z več kot 100 priročnimi dodatki za Word, brezplačno poskusite brez omejitev v 60 dneh.

1. Prosimo, zberite vse dokumente v obliki .doc v določeno mapo in kliknite Kutools Plus > Doc / Docx. Oglejte si posnetek zaslona:

2. V Ljubljani Pretvornik oblike dokumenta pogovorno okno, morate storiti naslednje:

2.1) Izberite mapo, ki vsebuje dokumente formata .doc v Mapa izvorne datoteke odsek;
2.2) Izberite Pretvori dokument v docx Iz Pretvori obliko spustni seznam;
2.3) Privzeto je Ciljna pot enaka izvoru polje je označeno. Če želite vse pretvorjene .docx dokumente shraniti v isto mapo, samo izberite to možnost;
Če želite ločiti dokumente .docx in izvorne dokumente .doc, počistite polje Ciljna pot enaka izvoru in izberite novo mapo, da shranite dokumente .docx v Shrani v škatla;
2.4) Kliknite Začetek . Oglejte si posnetek zaslona:

3. Nato se prikaže pogovorno okno, ki vam pove, koliko dokumentov je bilo uspešno pretvorjenih, kliknite OK in zaprite Pretvornik oblike dokumenta okno.

Zdaj se vsi dokumenti v obliki .doc pretvorijo v datoteke .docx. Oglejte si posnetek zaslona:

Če želite brezplačno preskusiti to orodje, pojdite na brezplačno prenesete programsko opremo najprej in nato nadaljujte z uporabo postopka v skladu z zgornjimi koraki.


Kutools za Outlook - prinaša 100 naprednih funkcij v Outlook in olajša delo!

  • Samodejno CC / BCC po pravilih pri pošiljanju e-pošte; Samodejno posredovanje naprej Več e-poštnih sporočil po meri; Samodejni odgovor brez strežnika za izmenjavo in več samodejnih funkcij ...
  • Opozorilo pred BCC - prikaži sporočilo, ko poskušate odgovoriti vsem če je vaš poštni naslov na seznamu BCC; Opomni, ko manjkajo priloge, in več opomnikov ...
  • Odgovori (vsi) z vsemi prilogami v e-poštnem pogovoru; Odgovori na veliko e-poštnih sporočil v nekaj sekundah; Samodejno dodaj pozdrav ko odgovor; Dodaj datum v zadevo ...
  • Orodja za priloge: Upravljanje vseh prilog v vseh e-poštnih sporočilih, Samodejno loči, Stisni vse, Preimenuj vse, Shrani vse ... Hitro poročilo, Štejte izbrano pošto...
  • Zmogljiva neželena e-poštna sporočila po meri; Odstranite podvojene pošte in stike... Omogočajo vam pametnejše, hitrejše in boljše delovanje v Outlooku.
strelec kutools outlook kutools zavihek 1180x121
shot kutools outlook kutools plus jeziček 1180x121
 
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    narendra · 2 months ago
    best graphic design company in india 
    Designing is a craft of communicating words as articulations. Visuals matter more than words in the advanced field.
    The experts in the designing business recommend that illustrations are simpler to recall than words,
    and that is the reason Website designing and Graphics play an imperative job.

  • To post as a guest, your comment is unpublished.
    ajumas · 5 months ago
    Thanks for sharing this useful information.
  • To post as a guest, your comment is unpublished.
    uaevisaonline · 6 months ago
    This is really insightful article , found it very helpful and informational

  • To post as a guest, your comment is unpublished.
    shriya gupta · 9 months ago
    Hello
    Nice post .. Keep sharing.
    Thank You
  • To post as a guest, your comment is unpublished.
    Radha · 1 years ago
    Hello sir,
    I love with this post.I really appreciate for this website.Your information is so good and valuable.Lovable idea and concept for sharing this website.
    This is an amazing website.This post is nice.
    Thanks for sharing
  • To post as a guest, your comment is unpublished.
    Lipika · 1 years ago
    Hi....Hi, This blog content very technical information, it is on of the best blog i have got. Very interesting and describe in a very easy way.
  • To post as a guest, your comment is unpublished.
    Massey Tractor · 1 years ago
    Hello,
    I am glad to find this useful information Thanks for sharing this amazing article.
  • To post as a guest, your comment is unpublished.
    George56 · 2 years ago
    Interesting stuff to read. Keep it up.
  • To post as a guest, your comment is unpublished.
    BigB7v1 · 2 years ago
    Kudos! Thanks for sharing. This was extremely helpful. I had over 50, 000 documents that needed to be converted. Took just a touch over 39 hours to get them all done. Huge help. I used option 1
    • To post as a guest, your comment is unpublished.
      Richard876 · 1 years ago
      Open the Word document you want to turn into a PDF file. If you wish to import only ... ConvertOnlineFree - individual and batch conversations of Word docs to PDF ... PDFOnline - free Word (doc, docx and txt) to PDF converter.

      Nice blog, the article you have shared is good.This article is very useful. My friend suggest me to use this blog.

      https://customersurveyinfo.com
      • To post as a guest, your comment is unpublished.
        Radha · 1 years ago
        Hello, thanks for sharing.