Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default ROUNDDOWN function reference

I am trying to use ROUNDDOWN or/and FLOOR functions in my excel macro,
but compiler doesn't find them.
Currently my references include:
Visual Basic for Applications
Microsoft Excel 9.0 Object Library
OLE Automation
MS Forms 2.0
MS DAO 3.51

Any help is appreciated.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ROUNDDOWN function reference

There are not VBA functions. Did you qualify them with WorksheetFunction?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"dtdd" <dd@eer wrote in message
...
I am trying to use ROUNDDOWN or/and FLOOR functions in my excel macro,
but compiler doesn't find them.
Currently my references include:
Visual Basic for Applications
Microsoft Excel 9.0 Object Library
OLE Automation
MS Forms 2.0
MS DAO 3.51

Any help is appreciated.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default ROUNDDOWN function reference

Bob Phillips wrote:

There are not VBA functions. Did you qualify them with WorksheetFunction?

I am not sure what "qualify them with WorksheetFunction" means...

I did Debug-Compile VBA project, and it returned error
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ROUNDDOWN function reference

It means something like

MsgBox WorksheetFunction.Floor(var, 1)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"dtdd" <dd@eer wrote in message
...
Bob Phillips wrote:

There are not VBA functions. Did you qualify them with

WorksheetFunction?

I am not sure what "qualify them with WorksheetFunction" means...

I did Debug-Compile VBA project, and it returned error



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default ROUNDDOWN function reference

Bob Phillips wrote:

It means something like

MsgBox WorksheetFunction.Floor(var, 1)

Oh, that's it.
Thank you very much!
Reply
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
Roundup and rounddown function - how to combine RonaldoOneNil Excel Worksheet Functions 1 May 28th 10 05:26 PM
rounddown + if function PoetsOnMars Excel Worksheet Functions 8 January 7th 09 02:11 PM
Excel 2007 - Rounddown Function? Charliec Excel Worksheet Functions 2 April 11th 08 07:13 AM
ROUNDDOWN function produces different results? Baldbloke Excel Worksheet Functions 6 November 15th 07 02:46 PM
ROUNDDOWN Excell function M8 Excel Worksheet Functions 4 February 13th 06 01:01 PM


All times are GMT +1. The time now is 07:35 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"