Hi ,
My problem is that my macro rounds the amount I am adding in a variable automatically. Any idea how to cerrect that?
Thank you
Hi ,
My problem is that my macro rounds the amount I am adding in a variable automatically. Any idea how to cerrect that?
Thank you
Can you post your code and/or a sample workbook showing the problem.
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
Please Login or Register to view this content.
All your variables are Longs, which are whole numbers. Use Double instead of Long if you need decimal places.
Remember what the dormouse said
Feed your head
I also noticed that in the lines
the variables TVP_BC, etc. are not defined. Did you mean SommeTVP_BC, ...?Please Login or Register to view this content.
Bob
Click my star if my answer helped you. Mark the thread as [SOLVED] if it has been.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks