cancel
Showing results for 
Search instead for 
Did you mean: 

How to add reference to scrun.dll to run a .rea Macro

Former Member
0 Kudos

I have a .rea macro that use a filesystem object and so we need to add the "Microsoft scripting runtime" dll reference in the vba project

To start the deski that uses this macro, we have a vbscript, this script should add the dll reference (scrrun.dll) in the registry on the computer.

The question is :

What are the modifications we have to do in the registry to add the reference to the "Microsoft scripting Runtime" in the registry ??

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

If you don't see "Microsoft Scripting Runtime" in the list of Available References in the VBA Editor Tools -> References, then you should re-register the scrrun.dll (default location is C:\WINDOWS\system32) using regsvr32 scrrun.dll

Sincerely,

Ted Ueda

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you for your help.

In fact, I see the "Microsoft Scripting Runtime" in the list of Available References but the dll is not checked.

I would like this dll to be "checked" by using a vbscript.

As we are in TS, every time the TS is started the workstation is reset and the reference is "unchecked" .

we have a vbs that create the start Menu and I would like that this script "checks" the dll.