anyone know a macro to accomplish this? the problem is if you have dates in workpaper, it screws the dates up because they are recognized as numbers
any help appreciated
anyone know a macro to accomplish this? the problem is if you have dates in workpaper, it screws the dates up because they are recognized as numbers
any help appreciated
Hi FLYFRG,
Try below code a copy of your file ...
Edit: The code will convert all rounded numbers without the formulas
![]()
Please Login or Register to view this content.
Last edited by nankw83; 09-30-2022 at 01:39 AM.
If I was able to help, you can thank me by clicking the * Add Reputation under my user name
thanks- doesnt seem to be working for me
Does it give any error ? Can you post a sample file to see what?s happening
![]()
Please Login or Register to view this content.
Good Luck...
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
Also....Add a comment if you like!!!!
And remember...Mark Thread as Solved...
Excel Forum Rocks!!!
where do i attach sample file?
here is my file with macros
Ok, revised code ...
![]()
Please Login or Register to view this content.
you are awesome!! however i notice that if numbers are in currency format it doesn't do the trick- it only works if theyre numbers like 22.4456 but if its $22.4456 nothing happens
also is it possible to see the commas still? like i want 2599.66 to become 2,600 not 2600
THANK YOU
The code does work on currency as you can see in attached file ... In addition, it will retain the original number format of the cell. If it was "general" then it won't show the thousand comma separator .. Check the attached file
thank you so much- only issue is if i want lets say 1000 to appear as 1,000 it doesnt show that - any way to "force" it to show commas regardless if original number format of cell was general of whatever?
Add below line in red
![]()
Please Login or Register to view this content.
you are a legend my friend- thank you
Glad I could help .. If that takes care of your question, please take a moment & mark this thread as [SOLVED] from the Thread Tools above your first post
only issue is if i have lets say a date somewhere in workbook 11/22/2005- the macro will pull that and convert to number like 51442 - how do we avoid that ?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks