Hello
I try to fill a textbox in a userform with the result of a max formula of a certain sheet, but no result..
What i try is this.
Any help on this?Please Login or Register to view this content.
Thank you in advance
Hello
I try to fill a textbox in a userform with the result of a max formula of a certain sheet, but no result..
What i try is this.
Any help on this?Please Login or Register to view this content.
Thank you in advance
Hi Maria,
See the attached where I got it to work. See my code of below and where I've placed it..
Me.TextBox1.Value = WorksheetFunction.Max(Application.ActiveSheet.Range("A1:A50"))
Userform TextBox Max Value Test.xlsm
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thank you Mr Marvin
Certainly works if i open the userform from sheet1.
But if i want to open it from another sheet ?
Does not worksPlease Login or Register to view this content.
Hi Maria,
If you want to get the max from another sheet try something like this:
Is this what you wanted? If not then you should supply a sample workbook so we can get a better understanding of the problem.Please Login or Register to view this content.
Add one dot and move one parenthesis
Please Login or Register to view this content.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
Thank both of you.
Apologize for the delay of my respond but i had no conection with the forum until now.
Mr Mike suggestion works great for me.
Regards
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks