Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2015, 05:36 PM
jc491's Avatar
jc491 jc491 is offline Windows 7 64bit Office 2013
VBA Novice
 
Join Date: Sep 2015
Location: UK
Posts: 55
jc491 is on a distinguished road
Default

Hi Paul,



I can't thank you enough!
I have never heard of the ghost feature before.

Some serious coding here,although it's way too advanced for me at the moment to understand, I can appreciate the complexity.

I have been trying to solve this problem for the past week unsuccessfully, so its really generous of you to solve this problem.

The code looks smashing.

In case I need to check the hidden columns I change the array numbers and the hidden set becomes visible - I tried that and so far it seems OK.

I hope you don't mind me asking - am I able to change the font size in the main Visible columns? Its a size 12 at the moment - If I can make the font bigger it would be easy on the eyes. If not no worries. I can do it manually.

For hidden text - the font size you have coded below - i can easily change that - thank you.


With Sty
With .Font

.Hidden = bHidden
.Size = 12


Again I thank you very much for your generous time and coding skills in helping me!


J
Reply With Quote
  #2  
Old 11-03-2015, 05:44 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
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

Quote:
Originally Posted by jc491 View Post
I have never heard of the ghost feature before.
There isn't one - "TblGhost" is the name of a Style the macro creates.
Quote:
Originally Posted by jc491 View Post
I hope you don't mind me asking - am I able to change the font size in the main Visible columns? Its a size 12 at the moment - If I can make the font bigger it would be easy on the eyes.
You can make the font whatever size you want, just by changing the 12 in:
.Size = 12

For an existing document that's already had the macro run on it, simply modify the font size for the "TblTxt" Style. That's the power of using Styles - change the Style definition and everything based on that Style updates.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
table, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apply formatting(color & shading) to specific letters in whole doc. (arabic) loopseye Word 3 08-05-2013 10:49 PM
How to set a custom border width in Word 2011 for Mac kchappell Word 0 11-10-2012 11:59 AM
Apply font color programatically using VBA Word divakarganta Word VBA 3 08-08-2012 08:05 PM
Formatting multiple tables and columns efficiently? table_column Word Tables 1 07-02-2012 05:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:28 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