Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2013, 06:19 AM
norwood norwood is offline font size of table Windows Vista font size of table Office 2000
Novice
font size of table
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default font size of table

How do I define the font size and height of a whole table ?



Currently, I'm defining the font size and height cell-by-cell, but this doesn't seem efficient (using Selection.Font.Size = 12, ect...).

And related, how do I define the "center justification" of a single column ? I'm also defining this cell-by-cell.

Thanks for any help !
Reply With Quote
  #2  
Old 10-07-2013, 08:53 AM
slaycock slaycock is offline font size of table Windows 7 64bit font size of table Office 2013
Expert
 
Join Date: Sep 2013
Posts: 256
slaycock is on a distinguished road
Default

Use the VBA macro recorder. Be sure to select your column or table before you record the macro as you can't select with a mouse click in the document whilst recording. Not all of what is produced by word is necessary but it will give you a good start.
Reply With Quote
  #3  
Old 10-07-2013, 09:26 AM
norwood norwood is offline font size of table Windows Vista font size of table Office 2000
Novice
font size of table
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default

...and thanks again...
Reply With Quote
  #4  
Old 10-07-2013, 02:57 PM
Charles Kenyon Charles Kenyon is offline font size of table Windows Vista font size of table Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,138
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See http://word.mvps.org/FAQs/MacrosVBA/...CellsInTbl.htm
Reply With Quote
  #5  
Old 10-07-2013, 04:27 PM
macropod's Avatar
macropod macropod is offline font size of table Windows 7 32bit font size of table Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You really should be doing this through the application of the appropriate Style definitions; after all, that's what they're there for.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
font size of table comment font size Guloluseus Excel 2 07-03-2013 09:14 AM
font size of table Font Size cjpga Outlook 1 04-13-2013 06:45 AM
font size of table how change size font to inches size kkepo Word 4 08-28-2012 08:53 PM
Cursor size varies with font size r_lewis@fuse.net Word 0 07-20-2011 06:11 PM
font size of table Font Size iflog Outlook 1 11-30-2010 09:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:26 AM.


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