Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
kado
 
Posts: n/a
Default Fill color in tables

Hi,

I have document with lot of tabels and I need change fill color in each
table to no-fill.
How can I change fill color in all tables in document at once ?
I hope you know what i mean, I am from Slovakia and I have Slovak Word.
I have Word XP.

Thanx.

KADO
  #2   Report Post  
Posted to microsoft.public.word.tables
Cindy M -WordMVP-
 
Posts: n/a
Default Fill color in tables

Hi Kado,

I have document with lot of tabels and I need change fill color in each
table to no-fill.
How can I change fill color in all tables in document at once ?
I hope you know what i mean, I am from Slovakia and I have Slovak Word.
I have Word XP.

Unless you happen to be using a Table Style (doubtful, but one never
knows) there's no way to do this quickly, except with the help of a macro.
Here's an example:

Sub RemoveTableShading()
Dim tbl As Word.Table
For Each tbl In ActiveDocument.Tables
tbl.Rows.Shading.BackgroundPatternColor = wdColorAutomatic
tbl.Rows.Shading.ForegroundPatternColor = wdColorAutomatic
Next tbl
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #3   Report Post  
Posted to microsoft.public.word.tables
kado
 
Posts: n/a
Default Fill color in tables

Hi Cindy,

Thank you, macro works fine.
Thank you very much.

KADO

Cindy M -WordMVP- wrote / napísal(a):
Hi Kado,

I have document with lot of tabels and I need change fill color in each
table to no-fill.
How can I change fill color in all tables in document at once ?
I hope you know what i mean, I am from Slovakia and I have Slovak Word.
I have Word XP.

Unless you happen to be using a Table Style (doubtful, but one never
knows) there's no way to do this quickly, except with the help of a macro.
Here's an example:

Sub RemoveTableShading()
Dim tbl As Word.Table
For Each tbl In ActiveDocument.Tables
tbl.Rows.Shading.BackgroundPatternColor = wdColorAutomatic
tbl.Rows.Shading.ForegroundPatternColor = wdColorAutomatic
Next tbl
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

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
Problem with embedded Excel tables viewed as images MPG Tables 1 December 31st 05 02:37 PM
Changing format of multiple pre-created tables Wendy Microsoft Word Help 2 September 14th 05 08:55 AM
When joining tables, table sections shift left or right. JEB01 Tables 1 January 17th 05 07:57 PM
Fill colours for tables cells (Word 97) EssexSi Tables 1 November 15th 04 03:10 PM
Is there a way to "join" tables in Word 2003? Julian Turner Tables 3 October 28th 04 06:51 PM


All times are GMT +1. The time now is 05:32 PM.

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

About Us

"It's about Microsoft Word"