LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default How to assign text to forms

Is there a way to assign the active or selected cell on a worksheet to a
TextBox on a form? This is what I have to far but it is not working.

Private Sub txtSiteRw_Change()
txtSiteRw.Value = Application.ActiveCell.Address
If txtSiteRw.Value = "" Then
Me.cmdFillForm.Enabled = False
ElseIf txtSiteRw.Value < "" Then
Me.cmdFillForm.Enabled = True
End If
End Sub

Any help will be greatly appreciated.
 
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 assign a value to a cell containing text Ani63 Excel Worksheet Functions 5 September 14th 06 08:41 PM
How do I assign dollar value to text laughingbird New Users to Excel 3 February 22nd 06 10:06 PM
assign value to text shellie Excel Worksheet Functions 1 October 11th 05 04:46 PM
assign a value to text Galiant Excel Worksheet Functions 9 September 23rd 05 10:17 AM
Assign values to text Town of Exeter Excel Worksheet Functions 0 August 17th 05 01:47 PM


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"