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

I have a text box in a user form that has 7 page document pasted inside
I have a vertical scroll bar selected in properties.

When the Userform is opened, (1) the scroll bar is not visbile, and (2
when the user clicks into the text box, the box jumps down to near th
end of the document and places the cursor there.

I need: (1) the scroll bar to be visable when the form opens, and (2)
want to placde the blinkinc cursor in front of the very first characte
in the text box.

Thanks in advance,

Jason Sweene

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default lots of text in text box problem


-----Original Message-----
I have a text box in a user form that has 7 page document

pasted inside.
I have a vertical scroll bar selected in properties.

When the Userform is opened, (1) the scroll bar is not

visbile, and (2)
when the user clicks into the text box, the box jumps

down to near the
end of the document and places the cursor there.

I need: (1) the scroll bar to be visable when the form

opens, and (2) I
want to placde the blinkinc cursor in front of the very

first character
in the text box.

Thanks in advance,

Jason Sweeney


---
Message posted from http://www.ExcelForum.com/

.


For (1): in the UserForm properties box (or in your VBA
code) be sure to set ScrollBars=2 (ScrollBars =
fmScrollBarsVertical)

For (2):
Private Sub UserForm_Activate()

Me.TextBox1.SetFocus
Me.TextBox1.CurLine = 1

End Sub
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
I'm trying to fit lots of text in a cell RP2chil Excel Discussion (Misc queries) 8 September 15th 06 12:05 AM
How to print cells with lots of text? Sings4Fun Excel Discussion (Misc queries) 2 February 8th 06 04:49 AM
Large amount of text in cells - Problem text.xls (0/1) Patrick Excel Discussion (Misc queries) 3 May 5th 05 04:10 PM
Large amount of text in cells - Problem text.xls (1/1) Patrick Excel Discussion (Misc queries) 0 May 5th 05 01:23 PM
Cells containing lots of text will not wrap? Jon Parker Excel Discussion (Misc queries) 1 April 19th 05 01:25 PM


All times are GMT +1. The time now is 09:34 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"