Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Text box in a userform to equal a cell

I need a userform text box to equal B5 on sheet Cycle data in the same
spread sheet.

Cannot figure this out

Please help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default Text box in a userform to equal a cell

Private Sub UserForm_Initialize()
Me.TextBox1.Value = Range("B5").Value
End Sub


" wrote:

I need a userform text box to equal B5 on sheet Cycle data in the same
spread sheet.

Cannot figure this out

Please help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Text box in a userform to equal a cell

You forgot the worksheet (which I think is named "Cycle data")...

Private Sub UserForm_Initialize()
Me.TextBox1.Value = Worksheets("Cycle data").Range("B5").Value
End Sub

Rick


"Office_Novice" wrote in message
...
Private Sub UserForm_Initialize()
Me.TextBox1.Value = Range("B5").Value
End Sub


" wrote:

I need a userform text box to equal B5 on sheet Cycle data in the same
spread sheet.

Cannot figure this out

Please help


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 to make text in a cell equal a number Dantron Excel Discussion (Misc queries) 6 April 4th 23 10:09 AM
Need cell color to equal text Skeetra27 Excel Discussion (Misc queries) 8 July 28th 09 05:09 PM
Userform comobox equal to first 3 digits in a cell Shawn Excel Programming 4 June 29th 07 04:07 AM
How can I make an excel cell equal to the value of a text box [email protected] Excel Worksheet Functions 5 February 27th 06 03:12 AM
How to make a cell equal text Adam Excel Programming 4 January 14th 05 11:23 AM


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