VBScript to be deprecated

jkpieterse

Well-known Member
Joined
Dec 3, 2007
Messages
1,572
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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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
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,224,829
Messages
6,181,224
Members
453,025
Latest member
Hannah_Pham93

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