Hello Ahmed,
Yes it is possible to call any sub procedures from one vbs to other vbs file
It is possible using ''ExecuteGlobal'' Statement
Below is the demo code ..
The contents of Demo1.vbs
SUB A()
MsgBox ''SUB A CALLED''
END SUB
SUB B()
MsgBox ''SUB B CALLED''
END SUB
Now as in your question if i need to call Sub procedure B()
It can de done by the following code
'Demo2.vbs
Dim fsObj
Dim vbsFile
Dim myFunctionsStr
Set fsObj = CreateObject(''Scripting.FileSystemObject'')
Set vbsFile = fsObj.OpenTextFile(''C:Demo1.vbs'', 1, False)
myFunctionsStr = vbsFile.ReadAll
vbsFile.Close
Set vbsFile = Nothing
Set fsObj = Nothing
ExecuteGlobal myFunctionsStr
B() ' You can call the required Sub Procedure from Demo1.vbs