Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default automatically changing font size

I have a worksheet where people may enter text of various lengths. Is there a
way I can reduce the font size if the text entered is too long to be viewed
entirely in the default font size? I do not want to change the size of the
cell, or change the font size for all cells.
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default automatically changing font size

turn on autosize
in VBA
range("a1").shrinktofit = true
this will keep the default font size but shrink if it is too long


"Jared" wrote:

I have a worksheet where people may enter text of various lengths. Is there a
way I can reduce the font size if the text entered is too long to be viewed
entirely in the default font size? I do not want to change the size of the
cell, or change the font size for all cells.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
How do I stop Excel from automatically changing font size? SK Excel Discussion (Misc queries) 0 June 22nd 06 03:13 PM
changing default font and size in Excel Ferd New Users to Excel 1 May 23rd 05 08:44 PM
Changing font size in a list box [email protected] Excel Discussion (Misc queries) 1 December 21st 04 04:07 PM
Changing font size, bold and underline ChuckM[_2_] Excel Programming 1 December 17th 03 02:12 PM


All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"