How to return a value from function...?
you should not tell msgbox, print.. etc.,
Answer Posted / rishi agrawal
Function MyFunction(Num)
InputBox("What is your name?","My Input")
'Code for return value from function
MyFunction= Num + 1
End Function
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Why is it recommended to close the database connection every time after the work is completed?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain about scrrun.dll in vbscript?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
What are the differences between sub procedures and function procedures?
How can you destroy an object in vbscript?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
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
Is vbscript a case-sensitive or case-insensitive?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How to take whole text output from screen of Bitmap Application.
How can constants be declared in the vbscript language?
How can you create a file object to work with the files in the vbscript language?
what is resorceallocation
Anyone have qtp11.0 crack?