Share via

Copy table layout using VBA Macro

Anonymous
2010-09-29T16:28:19+00:00

hi

using Word VBA macro how to copy the table layout using clipboard

please share your suggestion

thanks

orcas


Orcas

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2010-09-29T21:39:48+00:00

    The following code inserts an identical copy of the highly formatted third table in one of my documents at the end of the document

    With ActiveDocument

        .Tables(3).Range.Copy

        .Range.Select

        Selection.Collapse wdCollapseEnd

        Selection.Paste

    End With

    -- Hope this helps.

    Doug Robbins - Word MVP,

    dkr[atsymbol]mvps[dot]org

    Posted via the Community Bridge

    "OrcasKing" wrote in message news:*** Email address is removed for privacy ***...

    hi

    using Word VBA macro how to copy the table layout using clipboard

    please share your suggestion

    thanks

    orcas

    -- Orcas


    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org

    Was this answer helpful?

    0 comments No comments