Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code issue
#23
Solved: 10 Years, 9 Months, 2 Weeks ago
Really i forgot .Simple i forgaot to giving the sheet name on excel sheet .By default its take sheet1 ,but i given sheet2.


Code:
datatable.AddSheet("newsheet")
datatable.ImportSheet "c:\tdf\spreadsheet.xls","[color=#FF0000]sheet2[/color]","newsheet"
n=datatable.GetSheet("newsheet").getrowcount
For i = 1 to n
datatable.SetCurrentRow(i)
flag=datatable.value("Flag","newsheet")
If flag = "y" Then
scriptpath=datatable.Value("Script_Path","newsheet")
objpath=datatable.Value("Repository_Path","newsheet")


executefile scriptpath


End If
Next
Reply


Messages In This Thread
Code issue - by 1981.madhu@gmail.com - 10-27-2009, 06:53 PM
RE: Code issue - by Saket - 10-28-2009, 09:56 AM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 12:24 PM
RE: Code issue - by Saket - 10-28-2009, 12:29 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 01:04 PM
RE: Code issue - by Saket - 10-28-2009, 01:20 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 01:37 PM
RE: Code issue - by Saket - 10-28-2009, 02:07 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 02:42 PM
RE: Code issue - by Saket - 10-28-2009, 03:54 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 05:41 PM
RE: Code issue - by Saket - 10-28-2009, 05:48 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-28-2009, 07:27 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-29-2009, 01:54 PM
RE: Code issue - by Saket - 10-29-2009, 02:24 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-29-2009, 03:05 PM
RE: Code issue - by Saket - 10-29-2009, 03:14 PM
RE: Code issue - by 1981.madhu@gmail.com - 10-30-2009, 07:14 PM
RE: Code issue - by Saket - 10-31-2009, 10:08 AM
RE: Code issue - by 1981.madhu@gmail.com - 11-02-2009, 03:04 PM
RE: Code issue - by 1981.madhu@gmail.com - 11-05-2009, 06:35 PM
RE: Code issue - by Saket - 11-05-2009, 06:37 PM
RE: Code issue - by 1981.madhu@gmail.com - 11-09-2009, 05:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)