Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default updating a text box

i'm trying to update a "text box" with a value from a cell on another
worksheet. i've figured out how to do this simiply by entering the
appropriate cell in the 'LinkedCell' area in the properties box. however,
the linked value comes in as text, when it is actually a number, formatted
with a comma and a dollar sign. Is there some obvious thing I am missing,
like instead of a text box, use a "number box"?
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default updating a text box

linked cell enters the value exactly as it's displayed. hint, choose another
cell on the same worksheet that has the value that changes then enter this
formula
=(here enter the address for the dollar value cell)
make sure the format for that cell is general NOT currency
then use that cell as the linked cell instead of the currency one

"DirInfo" wrote:

i'm trying to update a "text box" with a value from a cell on another
worksheet. i've figured out how to do this simiply by entering the
appropriate cell in the 'LinkedCell' area in the properties box. however,
the linked value comes in as text, when it is actually a number, formatted
with a comma and a dollar sign. Is there some obvious thing I am missing,
like instead of a text box, use a "number box"?

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default updating a text box

i'm sorry did i nmisunderstand your question, did you want the text box to
display dollar signs?

"DirInfo" wrote:

i'm trying to update a "text box" with a value from a cell on another
worksheet. i've figured out how to do this simiply by entering the
appropriate cell in the 'LinkedCell' area in the properties box. however,
the linked value comes in as text, when it is actually a number, formatted
with a comma and a dollar sign. Is there some obvious thing I am missing,
like instead of a text box, use a "number box"?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default updating a text box

There is unfortunately no Number Box. The problem of the textbox is that
1. it display the value of a number (diplaying 3.145 if number formated as
$3.15)
2. if someone types some value in the box, the value is sent to the linked
cell AND this cell is formatted as Text ie 3.1456 become the String "3.145"
(of, course it also looses all number formatting)

The only way i am aware of to use a textbox in such a situation is to manage
the _Change event of the Textbox and manage the link to the cell yourself
without LinkedCell.

Maybe someone will have a better solution.
Regards,
Sebastien

"DirInfo" wrote:

i'm trying to update a "text box" with a value from a cell on another
worksheet. i've figured out how to do this simiply by entering the
appropriate cell in the 'LinkedCell' area in the properties box. however,
the linked value comes in as text, when it is actually a number, formatted
with a comma and a dollar sign. Is there some obvious thing I am missing,
like instead of a text box, use a "number box"?

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
excel not updating text boxes lbbeurmann Excel Discussion (Misc queries) 2 March 3rd 10 09:03 PM
countin and updating numbric and text Anvil22 Excel Discussion (Misc queries) 8 February 21st 10 10:15 PM
Updating Split Text field jock Excel Discussion (Misc queries) 2 April 16th 08 01:07 PM
Automatic updating for text boxes used on Charts Morjana Coffman Excel Discussion (Misc queries) 1 September 27th 06 07:40 PM
Updating a Text Box in my Workbook Chaplain Doug Excel Programming 3 January 1st 05 05:24 PM


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