Note: The other languages of the website are Google-translated. Back to English
Logáil isteach  \/ 
x
or
x
Cláraigh  \/ 
x

or

Conas Gach Táblaí a roghnú i ndoiciméad Word?

Is furasta tábla a roghnú i Word trí chliceáil ar an siombail dot-select-table-symbol cnaipe ar chúinne uachtarach na láimhe clé den tábla mar atá thíos an pictiúr a thaispeántar. Is féidir leat tábla a roghnú freisin leis an ngné Roghnaigh Tábla. An bhfuil aon bhealach ann, áfach, na táblaí go léir a roghnú go tapa ag an am céanna i ndoiciméad Word? Cuideoidh na modhanna san alt seo leat dul tríd. 


Roghnaigh gach tábla i Word le cód VBA

Roghnaigh na táblaí go léir i Word le Kutools for Word go héasca


Roghnaigh gach tábla i Word le cód VBA

1. Brúigh Eile + F11 eochracha a oscailt Microsoft Visual Basic le haghaidh Feidhmchláir fhuinneog.

2. San oscailt Microsoft Visual Basic d’Fheidhmchláir fuinneog, cliceáil Ionsáigh > Modúil, Ansin cóipeáil agus greamaigh an cód VBA seo a leanas i bhfuinneog an Mhodúil;

Cód VBA: Roghnaigh gach tábla sa doiciméad reatha:

Sub selecttables()
Dim mytable As Table

For Each mytable In ActiveDocument.Tables
mytable.Range.Editors.Add wdEditorEveryone
Next
ActiveDocument.SelectAllEditableRanges (wdEditorEveryone)
ActiveDocument.DeleteAllEditableRanges (wdEditorEveryone)
End Sub

3. Brúigh an F5 eochair chun an cód a rith

Ansin roghnaítear na táblaí go léir sa doiciméad reatha láithreach.


Roghnaigh na táblaí go léir i Word le Kutools for Word go héasca

Ag comparáid le cód VBA a úsáid chun na táblaí go léir i ndoiciméad a roghnú, Kutools for Word's Roghnaigh Táblaí tá fóntais áisiúil go leor. Is féidir leat an ghné seo a úsáid chun táblaí a roghnú i rogha nó sa doiciméad iomlán. Déan mar a leanas le do thoil:

Kutools for Word : Le níos mó ná 100 breiseán áisiúil Word, saor chun triail a dhéanamh gan aon teorannú i 60 lá.

cliceáil Kutools > Táblaí > Roghnaigh Táblaí. Féach an pictiúr:

nótaí: Chun táblaí a roghnú i roghnú, ní mór duit an raon a roghnú ar dtús agus ansin an ghné a chur i bhfeidhm.

Ansin is féidir leat na torthaí a fheiceáil mar seo a leanas.

Roghnaigh táblaí sa roghnú:

Roghnaigh táblaí sa doiciméad iomlán:

Más mian leat triail saor in aisce a bhaint as an bhfóntas seo, téigh chuig íoslódáil saor in aisce na bogearraí ar dtús, agus ansin téigh chun an oibríocht a chur i bhfeidhm de réir na gcéimeanna thuas.


Taispeántas: Roghnaigh na táblaí go léir i Word le Kutools for Word go héasca




Uirlisí Táirgeachta Focal Molta

 

Kutools For Word - Níos mó ná 100 Gné Ardteist le haghaidh Word, Sábháil Do 50% Am

  • Is féidir oibríochtaí casta agus arís agus arís eile a dhéanamh próiseáil aon-uaire i soicindí.
  • Cuir isteach íomhánna iomadúla thar fhillteáin i ndoiciméad Word ag an am céanna.
  • Cumaisc agus comhcheangail comhaid Word iolracha thar fhillteáin i gceann amháin leis an ord atá uait.
  • Roinn an doiciméad reatha i ndoiciméid ar leithligh de réir ceannteidil, briseadh ailt nó critéir eile.
  • Tiontaigh comhaid idir Doc agus Docx, Docx agus PDF, bailiú uirlisí le haghaidh comhshó agus roghnú coitianta, agus mar sin de ...

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.
    Alex · 4 years ago
    It seeems that this macros does not work in Word 2016
    • To post as a guest, your comment is unpublished.
      Suril · 4 years ago
      It works in Word 2016. What error are you getting?
      • To post as a guest, your comment is unpublished.
        Alex · 4 years ago
        I understand already.
        For correct work macros cursor must to be not in table when you call macros.
        Thank you.
  • To post as a guest, your comment is unpublished.
    Iqbal · 4 years ago
    There are multiple tables in a document (about 200). I want to select all these tables only and paste them in a new document in the table format. When I select the tables as per above procedure then during paste operation it pastes them as text and not as table. Can you please help me?
  • To post as a guest, your comment is unpublished.
    Suril · 4 years ago
    The following modified code selects all tables, except tables having only one row:
    Sub SelAllTbls()
    ActiveDocument.DeleteAllEditableRanges (-1)
    Dim Tbl As Table
    For Each Tbl In ActiveDocument.Tables
    If Tbl.Rows.Count > 1 Then
    Tbl.Range.Editors.Add (-1)
    End If
    Next
    ActiveDocument.SelectAllEditableRanges (-1)
    ActiveDocument.DeleteAllEditableRanges (-1)
    End Sub

    The following code select only the header rows:
    Sub selallHeaders()
    On Error Resume Next
    ActiveDocument.DeleteAllEditableRanges (-1)
    Dim Tbl As Table
    For Each Tbl In ActiveDocument.Tables
    Tbl.Rows(1).Range.Editors.Add (-1)
    Next
    ActiveDocument.SelectAllEditableRanges (-1)
    ActiveDocument.DeleteAllEditableRanges (-1)
    End Sub

    I have many more such codes that select last rows, all bullets, small / long paras, etc. Watch my following video:
    https://www.youtube.com/watch?v=p_ZhufliFw8
  • To post as a guest, your comment is unpublished.
    Vinoth Murali · 4 years ago
    Wonderful I got the solution by using the VBA code. Thank you so much
  • To post as a guest, your comment is unpublished.
    JPF · 5 years ago
    Nifty code at first but it definitely corrupted a bunch of tables in Word 2010. Screwed up my file pretty good and had to revert back to an earlier version. Be wary!
  • To post as a guest, your comment is unpublished.
    rodrigo · 6 years ago
    excellent macro and very easy
  • To post as a guest, your comment is unpublished.
    refaat · 7 years ago
    thank you so much
    he is good program but after few days stopped and require password and user name