A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Find and Replace question



 
 
Thread Tools Display Modes
  #1  
Old March 29th, 2009, 09:31 PM posted to microsoft.public.word.newusers
zyzzyva
external usenet poster
 
Posts: 31
Default Find and Replace question

I use Word 2007 and tables for formatting, so when I shade several tables in
a doc is there a way to Search & Replace shading to get rid of shading
altogether?
  #2  
Old March 29th, 2009, 11:04 PM posted to microsoft.public.word.newusers
Doug Robbins - Word MVP on news.microsoft.com
external usenet poster
 
Posts: 409
Default Find and Replace question

Dim i As Long
With ActiveDocument
For i = 1 To .Tables.Count
.Tables(i).Shading.BackgroundPatternColor = wdColorAutomatic
Next i
End With

Please do not post the same question separately to multiple newsgroups.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"zyzzyva" wrote in message
...
I use Word 2007 and tables for formatting, so when I shade several tables
in
a doc is there a way to Search & Replace shading to get rid of shading
altogether?



  #3  
Old March 30th, 2009, 04:47 AM posted to microsoft.public.word.newusers
Herb Tyson [MVP]
external usenet poster
 
Posts: 3,614
Default Find and Replace question

Word does not provide a way to search for shading--so you can't use Search &
Replace for this. Doug's macro can provide a way to handle it.

Alternatively, select the first table, then Ctrl+click the handle(s) of
other tables until the desired tables are selected. Then click the Shading
tool and choose No Color.


--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"zyzzyva" wrote in message
...
I use Word 2007 and tables for formatting, so when I shade several tables
in
a doc is there a way to Search & Replace shading to get rid of shading
altogether?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.