Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we use Flower Brackets while using If...Else condition?
#1
Solved: 11 Years, 4 Months ago
Problem:
I am reading the contents of the sheet1 based on the conditions in sheet1 i need to read the contents of the sheet2.

By using if else condition i am not able to read the contents of sheet2.

Please can any one suggest if they have any idea of reading excel sheets?
Reply
#2
Solved: 11 Years, 4 Months ago
Do you mean something like this:

Code:
If DataTable.Value("Param1", "Sheet1") = "Something" then
   MsgBox "OK"
Else
   MsgBox DataTable.Value("Param2", "Sheet2")
End If
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,905 05-04-2016, 11:28 PM
Last Post: supputuri
  Condition/Outcome Branching within Script danielrose01 3 3,397 06-13-2012, 10:29 AM
Last Post: sshukla12
  While Wend condition raaj123 3 3,676 06-11-2012, 06:25 PM
Last Post: ravi.gajul
  if condition throwing type mismatch error rrdamuluri 2 4,099 11-04-2010, 10:51 PM
Last Post: rrdamuluri
  Can we use checkpoint as a condition statement? riteshgpt 4 9,799 04-28-2010, 08:49 PM
Last Post: riteshgpt

Forum Jump:


Users browsing this thread: 1 Guest(s)