Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-22-2015, 04:25 PM
EAGLE SEU EAGLE SEU is offline table removal syntax Windows 7 64bit table removal syntax Office 2007
Novice
table removal syntax
 
Join Date: Jan 2015
Posts: 3
EAGLE SEU is on a distinguished road
Question table removal syntax

Hello everyone
I have a lot of tables in word document
and I want to delete one table and leave one .. until the end of document
I found in internet this code - to remove all tables -
but still have a syntax error ...
--------------------
Sub Removetables ()
Dim oTable As Table
Each oTable In ActiveDocument.Tables
oTable.Delete
Next oTable
End Sub
-----------------
Can someone help me to write code to delete one table and leave one ...

Thanks for everyone
Reply With Quote
 

Tags
help please, tables, word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
table removal syntax Strange Characters Removal OceansBlue Word 2 04-03-2013 10:01 AM
table removal syntax Please help with header and footer removal pwangdel Word 3 11-03-2011 06:10 AM
table removal syntax Field removal from template Phelony Word 1 10-18-2011 03:28 AM
background graphic removal taffyevo PowerPoint 0 08-16-2011 06:36 AM
table removal syntax Office 2007 removal and re-installation of previous version Buckeyegator Office 1 03-25-2010 09:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03: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