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: 6
Default Linking textboxes to cells with formulae

Hi

I've a cell on a sheet (call it a10) that contains a forumla to sum various
other functions on the sheet

eg =a1*10+b1*20+c1*30

The values of a1, b1 & c1 are set on an userform by using
textbox??.controlsource = "a1" etc

Textbox4 needs to show the result of the formula in a10. Easy, I thought -
set textbox4.controlsource = "a10"

Whilst this works initially, as soon as the formula is re-calculated ('cos
the user changes a textbox) the value of textbox4 is stored in a10 (ie the
resultant value overwrites the formula). Therefore, no other changes are
ever reflected.

Is there a way to stop this? The user may change any one (or more or all)
of the values in the data entry textboxes and I'd like the calculated total
to always show in textbox4.

Thanks in advance

David


BTW, all the data entry text boxes are contained within a frame, the total
box is located outside of that frame on the userform. Textbox4 is not
enabled (I don't want the user changing the total manually).


 
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
Linking Formulae Across a Workbook Mikki Shaw Excel Discussion (Misc queries) 2 October 6th 09 04:49 PM
list alternatives to textboxes or merged cells in shared file UpTooLate37 Excel Discussion (Misc queries) 0 October 25th 06 05:12 AM
Decoupling cells and formulae Henrik Excel Discussion (Misc queries) 3 September 1st 06 07:30 PM
Formulae when some cells contain #N/A HeatherC Excel Discussion (Misc queries) 6 March 1st 05 01:14 PM
Applying formulae to cells??? index[_11_] Excel Programming 4 December 6th 03 08:32 PM


All times are GMT +1. The time now is 05:36 PM.

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"