water Posted May 25, 2022 Share Posted May 25, 2022 I have started to rewrite the Excel Pivot Tables UDF with the following goals: Function headers should adhere to the UDF specification. Magic numbers should be replaced by constants used by MS. I would like to rename function names so they start with the object name (SCRIPT BREAKING CHANGE). e.g. _ExcelPivot_CreateCache becomes _ExcelPivot_CacheCreate. So you can easily see which functions are provided by the UDF for each Pivot object. Sensible default values for parameters should be added (similar to the Excel UDF) e.g. If Range is not specified the UsedRange property is used. Parameters should allow multiple formats e.g. Worksheet can be the name, the index or the worksheet object. Error handling should be enhanced so @error and @extended are set. The function header documentation should be extended. The documentation for the UDF should be available as CHM so it can be added to the Advanced Help tool. A COM error handler should be added. SkysLastChance and telmob 2 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now