Hi,
**
*Try it in Userform:*

Private Sub CommandButton1_Click()
TextBox2.Text = WorksheetFunction.Ceiling((Val(TextBox1.Text) * 0.03) -
0.8, 10)
End Sub

Regards,

MARIES.

On Wed, Feb 29, 2012 at 2:58 PM, Shankar Bheema <shankar.n...@gmail.com>wrote:

> Dear Experts
>
> The above attached file contains an userform for rounding off of the value
>
> if the 3% of the given value comes to more than multiple of 10 except the
> fraction that value should be rounded off to the nearest multiple of 10
>
> ex. if the value of 3% comes to 660.01 or 660.50 or 660.99  the answer
> should be 660 only
>
> if the value of 3% comes to more than the round figure like 661 then it
> should be rounded off to 670.
>
> pls provide me the solution.
>
> regards
> shankar sb
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to