Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is there any way?


is there any way of displaying a value of a specific cell in a frame
when the userform is loaded without creating a Textbox and displaying
the value in the textbox...directly in the frame? (cause u can still
edit within the textbox)?

Thanks


--
T.c.Goosen1977
------------------------------------------------------------------------
T.c.Goosen1977's Profile: http://www.excelforum.com/member.php...o&userid=35895
View this thread: http://www.excelforum.com/showthread...hreadid=558349

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Is there any way?

You must use a lable.

On userform activate / some other action:

label1.caption = Range("Sheet1!A1").text or .value


"T.c.Goosen1977"
<T.c.Goosen1977.2agtvn_1152091502.9314@excelforu m-nospam.com schreef in
bericht news:T.c.Goosen1977.2agtvn_1152091502.9314@excelfo rum-nospam.com...

is there any way of displaying a value of a specific cell in a frame
when the userform is loaded without creating a Textbox and displaying
the value in the textbox...directly in the frame? (cause u can still
edit within the textbox)?

Thanks


--
T.c.Goosen1977
------------------------------------------------------------------------
T.c.Goosen1977's Profile:
http://www.excelforum.com/member.php...o&userid=35895
View this thread: http://www.excelforum.com/showthread...hreadid=558349



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is there any way?


Thanks it works like a bom!

Theuns


--
T.c.Goosen1977
------------------------------------------------------------------------
T.c.Goosen1977's Profile: http://www.excelforum.com/member.php...o&userid=35895
View this thread: http://www.excelforum.com/showthread...hreadid=558349

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Is there any way?

Roedd <<T.c.Goosen1977 wedi ysgrifennu:

is there any way of displaying a value of a specific cell in a frame
when the userform is loaded without creating a Textbox and displaying
the value in the textbox...directly in the frame? (cause u can still
edit within the textbox)?

Thanks


Set the Locked property of the textbox to true. Then you can't edit the
content at run time.

Rob


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Is there any way?

Use a Label instead.
Label1.caption=WS.range("A1").value
Or use
TextBox1.Enabled=False
and/or
TextBox1.Locked=False

NickHK

"T.c.Goosen1977"
<T.c.Goosen1977.2agtvn_1152091502.9314@excelforu m-nospam.com wrote in
message news:T.c.Goosen1977.2agtvn_1152091502.9314@excelfo rum-nospam.com...

is there any way of displaying a value of a specific cell in a frame
when the userform is loaded without creating a Textbox and displaying
the value in the textbox...directly in the frame? (cause u can still
edit within the textbox)?

Thanks


--
T.c.Goosen1977
------------------------------------------------------------------------
T.c.Goosen1977's Profile:

http://www.excelforum.com/member.php...o&userid=35895
View this thread: http://www.excelforum.com/showthread...hreadid=558349





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



All times are GMT +1. The time now is 06:52 AM.

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"