+ Reply to Thread
Results 1 to 3 of 3

VB code to Reduce Font Size

  1. #1
    Forum Contributor
    Join Date
    09-19-2004
    Location
    Canada
    Posts
    408

    VB Code to Reduce Font Size

    Hi everyone,

    Can someone help me with a VB code to reduce the font size of cell B6 from 10 to 8 if the content does not fit the column width. (I don't want the text to wrap - it must fit on one line.) Cell B6 contains a formula that copies another cell.

    Thank you,
    Gos-C
    Last edited by Gos-C; 09-01-2007 at 02:59 PM.
    Using Excel 2010 & Windows 10
    "It is better to be prepared for an opportunity and not have one than to have an opportunity and not be prepared."

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    You may try with ths code:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Forum Contributor
    Join Date
    09-19-2004
    Location
    Canada
    Posts
    408
    Hi Antonio,

    It didn't work. Cells B6 to Q6 are merged. Would that make a difference?

    Thanks,
    Gos-C

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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