I've created a small VBA code to calculate the percentage using two cells.
The relevant code is simple. Similar to something like this:
Now, when I enter "1000" into cell "val1" and "123" into cell "val2", the result should be 12,3 %, but instead it says "12". I've already tried increasing the number of decimals in the cell and it didn't work.Please help. ThanksPlease Login or Register to view this content.
Edit: The wierd part is that it works fine for another cell, just not the one I want the result to be in.
Edit2: If you need the entire code, please let me know.
Bookmarks