Here ya go
Private Sub UserForm_Activate()
TextBox1.ControlSource = ActiveSheet.Name & "!F3"
TextBox1.Value = Format(ActiveSheet.Range("F3".Value, "currency"
End Sub Rgds
~Geoff~
I've come across another problem with this though!
The value in cell f3 is =sum(f8:f1000).
I run the userform that displays this value, but once open the value replaces the formula, and therefore doesn't update should any of the values below change.
Andrew - how do the values in the worksheet change if the userform is open - are you making changes to the worksheet via the userform ?? if so, how is it done (button click or cell link)
What you are asking for is possible, it just depends on the rest of your processes as to how it can work - bit of info regarding how the form is used would be good....
Rgds
~Geoff~
What i have are company names in cell d1 g1 j1 m1 p1 s1 and there quote values are summarised in cells f3 i3 l3 o3 r3 u3.
I have a userform that as command buttons to select the cheapest companies rates in cells e h and so on. These commands work fine, but i have another command that switches to this other userform that displays the values above rather that having scroll all over the screen.
This is how i have done it with A1 being the company trade ie Carpentry etc...
Andrew - not quite seeing this clearly - if you want to, please send me your workbook (strip out any sensitive data if necessary) and I'll see if I can figure it out for you
If this is not possible, I would suggest that you change all your .controlsource 's to .text or .value - this should keep the formula in the worksheet cells if I am understanding you correctly Rgds
~Geoff~
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.