Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we use Flower Brackets while using If...Else condition?
#1
Solved: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week 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,714 05-04-2016, 11:28 PM
Last Post: supputuri
  Condition/Outcome Branching within Script danielrose01 3 3,280 06-13-2012, 10:29 AM
Last Post: sshukla12
  While Wend condition raaj123 3 3,486 06-11-2012, 06:25 PM
Last Post: ravi.gajul
  if condition throwing type mismatch error rrdamuluri 2 3,944 11-04-2010, 10:51 PM
Last Post: rrdamuluri
  Can we use checkpoint as a condition statement? riteshgpt 4 9,484 04-28-2010, 08:49 PM
Last Post: riteshgpt

Forum Jump:


Users browsing this thread: 1 Guest(s)