Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2015, 07:03 AM
bloomhaven bloomhaven is offline Code to disable spacing between cells in table properties Windows 7 64bit Code to disable spacing between cells in table properties Office 2010 64bit
Novice
Code to disable spacing between cells in table properties
 
Join Date: Mar 2015
Location: Dominican Republic
Posts: 2
bloomhaven is on a distinguished road
Default Code to disable spacing between cells in table properties

Hi, I am looking for a way to have a macro disable the option "Allow spacing between cells" in the Table Properties, Options dialog in Word 2010.



"Selection.Tables(1).Spacing = 0" sets the spacing between cells to zero but leaves it enabled. I want to disable it.

Is this possible? I can't find anything else that addresses this setting.

Thanks.
Reply With Quote
  #2  
Old 03-11-2015, 08:00 AM
gmaxey gmaxey is offline Code to disable spacing between cells in table properties Windows 7 32bit Code to disable spacing between cells in table properties Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

AFAIK, there is no way to control the built-in dialog.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 03-11-2015, 08:33 AM
bloomhaven bloomhaven is offline Code to disable spacing between cells in table properties Windows 7 64bit Code to disable spacing between cells in table properties Office 2010 64bit
Novice
Code to disable spacing between cells in table properties
 
Join Date: Mar 2015
Location: Dominican Republic
Posts: 2
bloomhaven is on a distinguished road
Default

That is what I suspected, although I was hoping for a different answer. How annoying! But thanks for the response.
Reply With Quote
  #4  
Old 03-11-2015, 04:08 PM
Guessed's Avatar
Guessed Guessed is offline Code to disable spacing between cells in table properties Windows 7 32bit Code to disable spacing between cells in table properties Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Isn't this controlled by the table style? Why do you need a macro to do it?

You can modify the default table style to have the table cell properties you prefer.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
spacing between cells, tables, word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set table's Name properties. (Powerpoint 2010 VBA) YJPark PowerPoint 2 07-08-2014 01:21 AM
Code to disable spacing between cells in table properties How 2 Save Table Properties & Apply to other table Popeye.Tom Word Tables 1 04-24-2013 09:44 PM
Code to disable spacing between cells in table properties Unlocking cells with VB code in excel 2003 tadleymansions Excel 1 01-18-2013 06:55 AM
Excel VBA: Control Word Table and Set its properties tinfanide Excel Programming 0 12-10-2011 09:06 AM
Code to disable spacing between cells in table properties Excel table properties pmblom Excel 4 07-03-2011 02:00 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft