LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 148
Default VBA code and decimals

I have some VBA code as this:
rrows=lastrow/4

if lastrow is 138 then rrows should be 34.5 but I always get 34(no decimal)
How do I fix that
Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with lookup Bob Excel Discussion (Misc queries) 10 September 23rd 06 08:19 AM
Fixed decimals worksheet specific Charlotte Excel Worksheet Functions 7 September 14th 06 02:33 PM
Want Fixed Decimal places in only 1 column MikeElectricUtility Excel Discussion (Misc queries) 4 July 12th 06 09:11 PM
Sorting Numbers with Multiple Decimals (cont.) Intern Ian Excel Discussion (Misc queries) 5 September 21st 05 12:04 AM
How can I format the #of decimals, field types, etc. automaticall. JOET Excel Discussion (Misc queries) 1 April 2nd 05 12:14 AM


All times are GMT +1. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"