Hi,
I want a vba code that will remove everything after the decimal pooint in the entire workbook,without rounding the numbers.
then remove all the formulas throughout the entire workbook that is present there.
thanks for help.
Hi,
I want a vba code that will remove everything after the decimal pooint in the entire workbook,without rounding the numbers.
then remove all the formulas throughout the entire workbook that is present there.
thanks for help.
Last edited by fatalcore; 07-15-2011 at 12:56 AM.
Hi Fatalcore,
I suggest you remove the formulas first, since some of them may result in decimal numbers. The code below removes all formulas and then converts all numbers to integers (does not round). It loops through every worksheet in the workbook, too.
![]()
Please Login or Register to view this content.
Hi Paul,
Thanks for the code. The code works great in the first sheet only...It's not working in other sheets. Can you please help me on this.
Thanks again.
Try this slight change in Paul's codeIt worked for me.![]()
Please Login or Register to view this content.
Last edited by Mordred; 07-15-2011 at 12:04 AM.
If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.
---Keep on Coding in the Free World---
Good catch, Mordy. (Do you mind if I call you Mordy?)
![]()
Perfect !!!
Awesome Friends....
Marking as solved.
alternative:
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks