Home > Mobile >  What Reference Set is Excel VBA's "Application.Worksheetfunction" In?
What Reference Set is Excel VBA's "Application.Worksheetfunction" In?

Time:07-07

I am writing code in VBA for MS Access which opens and manipulates ranges and data in Excel worksheets. I've found the reference library (from Tools > References) that allow me to reference Excel objects like ranges, cells, etc. Now I want to take the average of a range but this would normally require use of the Application.Worksheetfunction class which does not seem to have been a member of the Microsoft Excel 16.0 Object Library. Which reference library would give me access to these functions?

CodePudding user response:

Here's an image of all of the references that I use for VBA in Excel. I opened Access and by default the reference "Microsoft Office 16.0 Object Library" wasn't added.

Click here to see list of references that I use

  • Related