Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2016, 10:58 PM
gmayor's Avatar
gmayor gmayor is offline Working with selection.tables Windows 10 Working with selection.tables Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
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 ofgmayor has much to be proud of
Default

Delete the loop and set the table to Selection.Tables(1)
Code:
Dim Tbl as table
Set Tbl = Selection.Tables(1)

__________________
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
Reply

Tags
word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with selection.tables Working with Selection.range. PRA007 Word VBA 2 02-19-2016 12:52 AM
Working with selection.tables Working with word tables. PRA007 Word VBA 1 12-02-2015 04:22 AM
Working with selection.tables Header Rows in Tables Not Working Andy Pilkington Word 2 10-10-2014 12:36 AM
Working with selection.tables Selection.EndKey not working in 2010 Smallweed Word VBA 4 08-19-2014 07:21 AM
Working with selection.tables working with excel tables in MS word radman154 Word Tables 1 03-25-2011 12:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft