It’s simple math. Given a number X and a rounding factor N, the formula would be:
round(X / N)*N
More Related Contents:
- to make this code simpler
- VBA code takes long time to execute in excel
- How to create and write to a txt file using VBA
- Outlook VBA – Run a code every half an hour
- Excel VBA deleting rows in a for loop misses rows
- Can I iterate through all Outlook emails in a folder including sub-folders?
- What is the lifetime of a global variable in excel vba?
- Embed picture in outlook mail body excel vba
- How to check for empty array in vba macro [duplicate]
- Where does VBA Debug.Print log to?
- VBA Adding a class to a collection [duplicate]
- Calling a Sub in VBA
- MS Access VBA Error: Run time error ’70’ Permission Denied
- What is the function of FormulaR1C1?
- Compiler Error: User-defined types not defined
- Is it better to use ADO or DAO in Access 2007?
- Insert line break in wrapped cell via code
- Change color of certain characters in a cell
- How to insert text into Outlook email editor using VBA
- Want VBA in excel to read very large CSV and create output file of a small subset of the CSV
- How do you extract email addresses from the ‘To’ field in outlook?
- Can I Get the Source Range Of Excel Clipboard Data?
- Using visual basic to access subfolder in Inbox?
- Determine real cause of ODBC failure (error 3146) with ms-access?
- How to create dynamic variable names VBA
- How to comment and uncomment blocks of code in the Office VBA Editor
- Read VBA macros (or vbaProject.bin) of an Excel file without opening it in MS Excel [closed]
- simple vba code gives me run time error 91 object variable or with block not set
- How do I get a list of unique values from a range in Excel VBA?
- How to get selected value in multicolumn listbox