Excel functions (1 Viewer)

CedarTree

Registered User.
Local time
Today, 09:01
Joined
Mar 2, 2018
Messages
404
How to refer directly to Excel function within Access VBA, please? Thanks! Old database has this coding which is bombing...

Code:
Abs(Round(Excel.WorksheetFunction.Days360

I get "variable not defined" for the "Excel" word.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 14:01
Joined
Feb 19, 2013
Messages
16,607
just a guess - suggest try adding the excel library to your references
 

CedarTree

Registered User.
Local time
Today, 09:01
Joined
Mar 2, 2018
Messages
404
Duh?!?!?
 

Users who are viewing this thread

Top Bottom