+ Reply to Thread
Results 1 to 16 of 16

Grow or Shrink Font

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Grow or Shrink Font

    Sometimes I don't want to change my zoom (maybe because of a lot of graphics) but I do want to shrink or grow my font size, and I have a mixture of all different sizes, so want to change them all up or down by the same percentage. I'm not finding a solution on the internet, so hope someone here has developed a solution, or can help me work toward one.
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Grow or Shrink Font

    Hello, Is this in excel, inside a cell ?!
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Grow or Shrink Font

    I wouldn't recommend this approach.

    As you'd need to store each of original font size, if you want to revert back font size.
    You may be able to use VBA UNDO class module method found in link.
    http://www.jkp-ads.com/Articles/UndoWithVBA00.asp

    And code will need to loop through each cell to find it's font size and then adjust. Not very efficient and may take very long time.

    As well, how would you handle any objects within the workbook? Should each object's member's font size be changed as well?

    Rather than taking this approach, I'd suggest opening same workbook in 2 windows and have zoom on one and no zoom on the other.
    Or use of accessibility tool.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    I'd really just want to grow or shrink the font in the various cells. I can do that on a case by case basis, but when we're talking about a spreadsheet of thousands of lines, with fonts of varying sizes, and I want to shrink it all at one shot, but NOT make it all the same font size, it can be incredibly time consuming.

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Grow or Shrink Font

    I would suggest that the best way to approach this (other than just not doing it ) would be to use styles on all the cells whose font sizes you need to change. That way you can simply manipulate the font size for the styles rather than each cell.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  6. #6
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    I'm not familiar with styles as it applies to Excel.

  7. #7
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Grow or Shrink Font

    You can check out in Home -> Styles (Conditional formatting, Format as Table & Cell Styles)

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Grow or Shrink Font

    They are similar to styles in Word. All cells in Excel actually default to the Normal cell style but you can apply styles that specify different combinations of formatting. It may be worth your while reading this- http://www.jkp-ads.com/Articles/styles01.asp

  9. #9
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    than_gold and xlnitwit, I thank you both for pointing me in the right direction. I'll start reading and learn to resolve my issue with style.

  10. #10
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Grow or Shrink Font

    Jomili, Welcome. you can add reputation if we help you!!

  11. #11
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    The Style option really didn't give me the flexibility I needed so I came up with this quick and dirty version. So far it seems to work just fine for Excel. I'm interested in making the equivalent for Word if someone wants to help me with that, since I'm not really familiar with coding in Word (for instance, Word doesn't traditionally have cells).
    Please Login or Register  to view this content.
    Last edited by jomili; 12-12-2017 at 03:43 PM. Reason: Changed from hard value to Percent change

  12. #12
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Grow or Shrink Font

    Hi jomili ,
    In word you can see styles in Home tap. Are you trying to change the fonts in tables in word?
    word_style.PNG

  13. #13
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    In general I don't change fonts in tables very often, so mainly text that's compiled from various sources. Just like with Excel, I often have a mixture of all different sizes, and they need to stay proportionally the same, so I'd really want to change them all up or down by the same percentage. My macro above does that for Excel, so I'd like a similar capability for Word.

  14. #14
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Grow or Shrink Font

    Can you please provide sample word file?

  15. #15
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    Sure. Every case is different, but this one is representative. Notice there are multiple font sizes. If I had an hour I could go through and reduce or change them all to the way I like, but I don't have an hour, I have maybe 5 minutes and have to move on to something else. So, I want to shrink all the text by about 30% (I'd have to play with it to get the right mix) while keeping the graphics the way they are. Since there are multiple styles in use going the style route doesn't satisfy.
    Attached Files Attached Files

  16. #16
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,054

    Re: Grow or Shrink Font

    Okay, I think I've found my Word solution. The Word commands are really simple, Grow and Shrink. This isn't the finished product, but it's a start:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ActiveX button font shrink in different computer
    By wing_hk in forum Excel General
    Replies: 1
    Last Post: 10-17-2014, 02:49 AM
  2. VBA to Grow/Shrink Part of a Worksheet
    By ikslohap in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2014, 02:27 PM
  3. Code to shrink font size after the first 3 characters and spaces
    By trickyricky in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-15-2011, 09:57 AM
  4. can a cell grow and shrink with it's contents?
    By -Brian-H- in forum Excel General
    Replies: 10
    Last Post: 09-27-2008, 04:56 PM
  5. Creating reports that grow/shrink
    By dsanita in forum Excel General
    Replies: 0
    Last Post: 07-25-2006, 05:00 PM
  6. Worksheet Change Event-an grow and shrink
    By GerbilGod7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2006, 12:16 PM
  7. Can rows/columns Automaticly Grow/Shrink?
    By Brw in forum Excel General
    Replies: 0
    Last Post: 03-24-2006, 10:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1