Jean-Pierre D via OfficeKB.com
Guest
Re: checking input on a textbox in userform to be a %
hi richard,
You were right, it works !
However, i do have another problem.
When i update a textbox in the userform, the sheet is also update but not
recalculated....
do you have a solution for that ?
Thanks,
JP
Richard Buttrey wrote:
>Maybe I'm missing something, but a percentage is just another number.
>Your original question was primarily about the format or appearance of
>that number.
>
>Did you try my suggested code in the UserForm_terminate() event ?
>
>i.e.
>
>Private Sub UserForm_Terminate()
> If Range("a1") > 1 Then Range("a1") = Range("a1") / 100
>End Sub
>
>It's not immediately apparent why, if the other code that you mention
>below works, why it doesn't also work for a percentage number.
>
>Rgds
>
>>Hi richard,
>>your input does not work for me....
>[quoted text clipped - 40 lines]
>>>Grappenhall, Cheshire, UK
>>>__________________________
>
>__
>Richard Buttrey
>Grappenhall, Cheshire, UK
>__________________________
--
Message posted via http://www.officekb.com
Bookmarks