Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default text box size problem

I have a text box on a userform that ties to a cell in one
of my worksheets. The information in the cell is too long
and therefore the textbox can't hold it all. I don't want
to make the textbox larger, or reduse the font size. I
would like to add a scroll bar???

SDC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default text box size problem

Scrabtree23,

Go View - Toolbars - Control Toolbox
Here you will find a different kind of textbox, similar, but
with some additional features. Insert one into your sheet.
Right click the textbox (in design mode)* and choose
properties. Set the following properties:

Multiline - True
Scrollbars - 2 - fmScrollBarsVertical
LinkedCell - your linked cell (ie A1)
If you want the textbox to be flat like other textboxes
SpecialEffect - 0 - fmSpecialEffectFlat
BorderStyle - 1 - fmBorderStyleSingle

Dan E

*To enter design mode view the Visual Basic Toolbar
View - Toolbars - Visual Basic. On it you will find a
button which will allow you to switch from design mode
to normal and back again.

"scrabtree23" wrote in message ...
I have a text box on a userform that ties to a cell in one
of my worksheets. The information in the cell is too long
and therefore the textbox can't hold it all. I don't want
to make the textbox larger, or reduse the font size. I
would like to add a scroll bar???

SDC



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default text box size problem

Right click on the textbox in the VBE/Userform and select properties.
Change the WordWrap property and Multiline properties to true.
Then look at the scrollbars property and select the setting you want.

--
Regards,
Tom Ogilvy


"scrabtree23" wrote in message
...
I have a text box on a userform that ties to a cell in one
of my worksheets. The information in the cell is too long
and therefore the textbox can't hold it all. I don't want
to make the textbox larger, or reduse the font size. I
would like to add a scroll bar???

SDC



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
how do i reformat text size in all comment boxs to a default size bwnsgr96 Excel Worksheet Functions 1 August 20th 08 09:35 PM
Printing problem size Trouvera52 Excel Discussion (Misc queries) 1 January 23rd 07 11:34 PM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
merged cells into one text cell, size varies dependant on text dat Jazzylady825 Excel Discussion (Misc queries) 0 December 9th 05 08:26 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


All times are GMT +1. The time now is 02:52 PM.

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

About Us

"It's about Microsoft Excel"