Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Userform - Label

Place a command button and place the code in command butoon click to try out..

Private Sub CommandButton1_Click()
Dim strTemp as Variant
strtemp = ActiveWorkbook.Sheets("Configurator").Range("RFQ_R ef")
Quote_Form.RFQ_Ref.Caption = strTemp
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Looping through" wrote:

I must have this in the wrong spot.

Private Sub RFQ_Ref_Click()
Quote_Form.RFQ_Ref.Caption =
ActiveWorkbook.Sheets("Configurator").Range("RFQ_R ef")
End Sub

I have to click on the lable in order for it show up in my userform.

"Jacob Skaria" wrote:

Userform1.Label1.Caption = ActiveWorkbook.Sheets("Sheet1").Range("A1")

In your case


Quote_Form.RFQ_Ref.Caption = ActiveWorkbook.Sheets("Sheet1").Range("RFQ_Ref")


If this post helps click Yes
---------------
Jacob Skaria


"Looping through" wrote:

How do you insert the value of a certain cell ("G29"; range named "RFQ_Ref")
into a lable (RFQ_Ref) in a userform (Quote_Form)

I have searched but just can't find it.

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
userform label.caption [email protected] Excel Programming 1 March 18th 08 08:58 PM
Userform Label Steve[_9_] Excel Discussion (Misc queries) 7 October 29th 07 09:51 PM
Userform Label Click Zone[_3_] Excel Programming 5 June 25th 07 06:13 PM
Flashing UserForm Label grahammal[_25_] Excel Programming 1 March 27th 06 03:20 PM
Userform blinking label Ed Excel Programming 2 July 17th 04 12:24 AM


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