LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Difference between .text and .value of a textbox

Hi
recently I was trying to create a userform where I was giving the valu
of text box to a cell. The textbox value was more that 255 chars and
used following method.

range("A25").value = txtUpdate.value
which then I tested I got a result as #Value error in the cell...

I changed the code to
range("A25").value = txtUpdate.text
and it worked....
can somebody tell me the difference between the above 2..


How to make sure a user is entering a plain text value instead o
formula in a textbox...

Thanx in advance
Keda

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

 
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 calculate a difference btwn 2 TextBox and insert the result inthe appropriate cell John[_34_] Excel Discussion (Misc queries) 4 November 20th 11 02:54 PM
Textbox and multiline text Mats Samson Excel Worksheet Functions 0 September 18th 07 08:18 PM
$ in front of text in a textbox Todd Huttenstine[_2_] Excel Programming 1 January 20th 04 10:04 AM
check variable(text) with cell (text), textbox Mark[_17_] Excel Programming 1 August 27th 03 01:15 PM
Help with fitting text in textbox Badtaste2k Excel Programming 1 August 11th 03 12:41 AM


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