Answer Posted / ananymousb
U can directly use the function
ExecuteFile "vbsfunctionname.vbs"
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is variant in vb script?
What are subprocedures in vbscript?
Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it
What is the difference between function and procedure?
what do you mean .ota mobile format
i need to sort the data using qtp script for this how i need to write a qtp script
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
How to Convert Hex color code to color name in VB Script?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
Mention what is the use of option explicit in vbscript?
In what way program "hello world" you can write in vbscript?
how to acces the remote mechine using vb cript(QTP)
How to Import data from a file (file is on the desktop) to the data table
Which loop is used in case of arrays in the vbscript language?