TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:RE: Word - Global Table Updates From:Salan Sinclair <salansinclair -at- shaw -dot- ca> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Mon, 20 May 2002 12:12:50 -0700
JR asked:
"Is there a way to update the properties of all tables in a document?"
You can easily apply the macro to every table in the document.
That's one of the big benefits of VBA.
For example, here is a macro to change the indent of each table and then
auto fit it.
Just modify the lines inside the For/Next loop to do whatever you want.
Sub TableIndent()
For Each aTable In ActiveDocument.Tables
aTable.Rows.LeftIndent = InchesToPoints(2)
aTable.AutoFitBehavior wdAutoFitContent
Next aTable
End Sub
Feel free to write me if you need more info.
__________________________________________________________
Salan Sinclair, salan -at- wordclarity -dot- com, www.wordclarity.com
t.604.709.8658, cell.604.839.6208, f.604.709.8651
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Free copy of ARTS PDF Tools when you register for the PDF
Conference by May 15. Leading-Edge Practices for Enterprise
& Government, June 3-5, Bethesda,MD. www.PDFConference.com
Check out RoboDemo for tutorials! It makes creating full-motion software
demonstrations and other onscreen support materials easy and intuitive.
Need RoboHelp? Save $100 on RoboHelp Office in May with our mail-in rebate.
Go to http://www.ehelp.com/techwr-l
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.