Which is the default Data types in VBScript?
Answer Posted / dyj
VB script has only one data type is called a Variant.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Mention what is select case statement?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Which keyword is used to declare a variable in the vbscript language?
What is the main difference between function and sub-procedure?
what is the standards used for writing the script in QTP
Which operator can be used to change the value of the operand or change the state of the condition?
write a program to display configuration of a local system with the help of vb script.
What is the difference between do until loop and do while loop?
What are the different types of operators and their order of precedence?
how to acces the remote mechine using vb cript(QTP)
How to assign a numeric value to a variable?
Explain about .wsf files?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
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
How to open excel in vb script?