1
2 2
3 3 3
4 4 4 4
5 5 5 5 5


how to find using vbscripting

Answer Posted / abbas khan

Option Explicit
Dim Var, i, j


For i = 1 To 5 Step 1
For j = 1 To i Step 1
Var = Var &i &Space(3)
Next
Var = Var &vbNewLine
Next

Msgbox Var

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can u describe what kind of testing are for OTC derivates by banks.

1669


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1540


what is the differance between BYVAL,BYREF?

1770


How to write VB script for login module?

2678


What are the data types supported by vbscript?

580






Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

1724


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1772


Mention what is vbscript procedures?

540


When are redim statement and preserve keyword used in the vbscript language?

600


how to acces the remote mechine using vb cript(QTP)

1607


Explain the filter expression?

633


Why is the use of exit do or exit for statements within loops discouraged?

569


Is VB Script Case sensitive or Case insensitive?

640


after medical test,when will be the police verification

1717


What is sql loader? Explain the files used by sql loader to load file?

623