Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hello,

Please Check this script.
VB
Dim ak
Set ak = CreateObject("wscript.shell")

For i = 1 to 3

   Set DataTable = ("A",dtglobalsheet)
	MsgBox _message = "A"
	MsgBox_time = 2
	MsgBox_title = "this is demo set"
ak.Popup MsgBox, MsgBox_time,MsgBox_title

Next

I just want to print data table value in Msgbox like Column name "A".

Thanks,
Ajay Kumar
Software Test Engineer
Posted
Updated 21-Dec-11 21:01pm
v2

If you mean the name of the datatable then something like:
VB
MsgBox_message = myDataTableVariable.TableName
 
Share this answer
 
Hello

It is not working.
Do you know any other script?

Thanks,
Testing Authority
 
Share this answer
 
Hello
check this script, i found it, thanks for your time.



Dim ak
set ak = createobject("wscript.shell")
for i = 1 to 2
datatable.setcurrentrow(i)
stvalue = datatable.value("A",dtglobalsheet)
msgbox_time = 1
msgbox_title = "msgbox title"

ak.popup stvalue,msgbox_time,msgbox_title

next





Thanks,
Testing Authority
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900