Thread: Select pasted
View Single Post
 
Old 08-10-2017, 03:58 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The simplest option is to click in the table then click the handle that appears outside the top left corner of the table.

Or you could paste and select using a macro e.g.

Code:
Sub PasteAndSelectTable()
    Selection.Paste
    If Selection.Tables.Count > 0 Then
        Selection.Tables(1).Select
    End If
End Sub
However if you are going to the trouble of using a macro, then there may be no need to 'select' the table as you can work with the pasted table without selecting it. Much depends on the point of the exercise.

You could even replace the built-in Paste command by renaming the Macro EditPaste
Code:
Sub EditPaste()
Then when you use the Word Paste command, if there is a table on the clipboard it will be pasted and selected.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote