Microsoft reminds developers VBScript really is going away
Briefly

Microsoft reminds developers VBScript really is going away
"While VBScript appears multiple times throughout Microsoft's technology stack, Microsoft's latest warning specifically concerns Visual Basic for Applications (VBA) developers who use the technology to automate tasks and extend Office applications. Microsoft added VBScript to the deprecated list some time ago."
"From Office Version 2508, RegExp classes are included in VBA. This means that a reference to an external library (such as the soon-to-be-removed vbscript.dll) is not needed. Early ( Dim o As RegExp) or Late ( Set o = CreateObject("VBScript.RegEx")) Binding should work. The latter behaves as before, but Microsoft says that once VBScript is removed or disabled, older versions of Office will no longer be able to run VBA code using these objects."
VBScript has been placed on the deprecated list and is scheduled to transition to Feature on Demand status before removal, with VBScript FoDs disabled by default around 2026–2027. .vbs files will no longer be supported and VBScript type libraries such as VBScript.RegExp present compatibility issues. Office Version 2508 includes RegExp classes in VBA, removing the need for external references like vbscript.dll. Early and late binding approaches should work, but older Office versions may fail once VBScript is removed. Enterprises need to upgrade, disable VBScript in test environments, and validate extensive VBA-based automation workflows.
Read at Theregister
Unable to calculate read time
[
|
]