VBScript to be deprecated

jkpieterse

Well-known Member
Joined
Dec 3, 2007
Messages
1,502
To my fellow VBA developers. If you have projects that depend on the Scripting Runtime library, beware. VBScript is going to be turned off and subsequently deprecated on Windows clients. Things like the Dictionary object, the FileSystemObject and other useful libraries will no longer be available and cause compile errors in your code. It isn't happening soon, but at least you'll have time to plan ahead: VBScript deprecation: Timelines and next steps
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
But will the new RegEx functions be callable from VBA?
Got the functions in my Beta version but they are not listed in the list of WorksheetFunctions in VBA

1720904749765.png


Book1
AB
1Data
2alfalfa
3FormulasQuestions
4TRUEDoes it contain the letter 'a'?
5TRUEDoes it contain any lower case letters?
6FALSEDoes it contain any upper case letters?
7TRUEDoes it contain any vowels?
8FALSEDoes it contain any number digits?
Sheet1
Cell Formulas
RangeFormula
A4A4=REGEXTEST(A2,"a")
A5A5=REGEXTEST(A2,"[a-z]")
A6A6=REGEXTEST(A2,"[A-Z]")
A7A7=REGEXTEST(A2,"[aeiou]")
A8A8=REGEXTEST(A2,"[0-9]")
 
Upvote 0
I hope they come up with an alternative for Scripting Dictionary.
 
Upvote 0
The details are in the comments of the article being linked to in several of the above posts.
From: nolongerset
  • vbscript.dll:
    • Microsoft VBScript Regular Expressions 1.0
    • Microsoft VBScript Regular Expressions 5.5
  • scrrun.dll:
    • Microsoft Scripting Runtime
Reply from the author: Naveen Shankar
"The scope of VBScript deprecation includes only vbscript.dll and no other libraries. This shall not impact any projects that are not dependent on vbscript.dll."
Additional Ref:
> The "Microsoft Scripting Runtime" reference (scrrun.dll) is not going anywhere. That means the FileSystemObject and Dictionary object are both safe for now.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top