-
Integer division
I'm wondering if there is a way to use integer division in VBA.
When i google for it, there's some pages who say it is possible to say :
24 \ 7
which would give : 3
However when i try to do this, i'm getting an error. So i'm wondering if it is even possible ? (excel 97)
-
Try
[vba]
MsgBox 24 \ 7
[/vba]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules