Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2017, 04:45 PM
erik11 erik11 is offline Automatically edit formatting af tables across a document Windows 10 Automatically edit formatting af tables across a document Office 2016
Novice
Automatically edit formatting af tables across a document
 
Join Date: Dec 2017
Posts: 4
erik11 is on a distinguished road
Default

Hi gmayor



I did replace the old FormatTable procedure with the new, but I have had some troubles making it work. First of all, I am not sure what you mean when you say "In the body of the document"? Isn't that the entire document or do I need to select something in the document? Anyway I didn't receive a single MsgBox whatever I did (selected some part of the document or not) when running the script.

I don't understand why you are asking for .Shading.BackgroundPatternColor NOT to be lngBackColor (set to wdColorGray10 in line 2)?

I guess maybe it is getting too complicated. Then I would rather like the script to ask me for every single Table if I want it changed or not.

NB! By the way: Obviously wdLineStyleNone, means no outline for the table. But how do you set a table to have no fill (background)?

Thanks,

Erik
Reply With Quote
Reply

Tags
table, table across, table border



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tables in Word Document - Formatting Networkrail Word Tables 0 08-22-2017 05:49 AM
Automatically edit formatting af tables across a document Edit one document, have it automatically update other connected documents. bradyb90 Word 1 05-10-2015 10:53 AM
Forms fields: edit content easily in tables kirby gilman Word 8 12-04-2014 08:43 AM
Formatting all tables knightmetal Word 2 09-10-2012 10:53 PM
Automatically edit formatting af tables across a document How to create an Excel add in that will automatically build tables from data selvamariappan Excel Programming 1 12-12-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:04 AM.


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