Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-21-2015, 12:58 AM
gmayor's Avatar
gmayor gmayor is offline VBA scripting / table Windows 7 64bit VBA scripting / table Office 2010 32bit
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

Without access to the document it is difficult to test, but all seems to revolve around
Code:
yy = ActiveDocument.Tables.Count
i.e. the last table in the document. If you want process a different table e.g. the first table in the document, you need to address that table here. e.g.
Code:
yy = ActiveDocument.Tables(1)
What the effect of the bookmarks in the document might be I cannot say.
__________________
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
 

Tags
vba tables macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA scripting / table Move table cell contents from one table to another table or cell in same table donaldadams1951 Word VBA 4 02-04-2015 03:54 PM
Pivot Table Question- Can the table display in the order the boxes were checked/selected? blackjack Excel 0 09-13-2014 08:57 PM
VBA scripting / table help with scripting mrokoua Outlook 1 08-26-2014 03:52 AM
How to change the path of a table copied by excel in word as linked table RTF? Cristin7 Word VBA 3 03-10-2014 05:25 AM
Scripting error presented when emails are opened from one specific sender Mr Davo Outlook 0 05-30-2012 07:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:23 AM.


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