Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Maanu Maanu is offline
external usenet poster
 
Posts: 33
Default Copy row Properties

I have changed the first row properties of a table to make it the table
header. I changed its color to grey and changed font to verdana + bold.

I want to change the first row properties of all other tables(around 200
tables) in the document in the same way. I used paste special functionality
to chage the row properties of all other tables. But nothing happened.

Is there any meachanisms for doing this?

Thanks!
  #2   Report Post  
Posted to microsoft.public.word.tables
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Copy row Properties

You could use a macro to format the tables

The following will format all the first rows to have a 25% grey background
and Verdana Bold font

Dim oDoc As Document
Dim oTable As Table
Set oDoc = ActiveDocument
On Error Resume Next
For Each oTable In ActiveDocument.Tables
With oTable.Rows(1).Range
.Font.Name = "Verdana"
.Bold = True
.Shading.BackgroundPatternColor = wdColorGray25
End With
Next oTable

This will work provided none of the first rows have vertically merged cells.
Tables that have such merged header cells will be ignored.

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Maanu" wrote in message
...
I have changed the first row properties of a table to make it the table
header. I changed its color to grey and changed font to verdana + bold.

I want to change the first row properties of all other tables(around 200
tables) in the document in the same way. I used paste special
functionality
to chage the row properties of all other tables. But nothing happened.

Is there any meachanisms for doing this?

Thanks!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you copy Table Properties from one table to several others? Penny Tables 3 May 3rd 23 02:52 AM
Advanced Document Properties to Standard Properties Window? TychaBrahe Microsoft Word Help 1 April 3rd 08 12:25 AM
How to copy picture and camera properties into a txt file? soncci Microsoft Word Help 0 July 3rd 07 05:28 PM
Copy Document Properties Hotmail Microsoft Word Help 1 December 13th 06 03:52 PM
Copy custom properties? Not Really Me Microsoft Word Help 2 March 14th 06 04:40 PM


All times are GMT +1. The time now is 02:53 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"