Dear Experts

I am attaching an excel vba file.  In which I am facing a problem with
change event.

the addition of textbox2.text + textbox3.text values with the value of 3%
of the value of the above both.  That 3% value if exceeds 1 rupee it should
be rounded off to the next nearest 10 rs.

eg:  if textbox2.text = 1000 and textbox3.text = 500,
3% on the above addition 45 which means it should be rounded off to the
nearest multiple of 10  i.e. 50.

The result for the textbox5.text required to be: (1000+50)=1050

Pls do reply.

-- 
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

Attachment: test rounding.xls
Description: MS-Excel spreadsheet

Reply via email to