Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP-counting mails
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Try this:

Code:
sText = Browser("micclass:=Browser").WebElement("innertext:=Inbox.*", "html tag:=B", "index:=0").GetROProperty("innertext")

leftParan = InStr(1, sText, "(")
rightParan = InStr(1, sText, ")")
numOfMails = Mid(sText, leftParan + 1, rightParan - leftParan - 1)

MsgBox numOfMails
Reply


Messages In This Thread
DP-counting mails - by priya - 04-01-2008, 11:44 AM
RE: DP-counting mails - by durairajravindran - 05-26-2008, 07:05 PM
RE: DP-counting mails - by Anshoo Arora - 06-03-2008, 04:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Script to count the number of mails in a given folder in Outlook Sudhamshu 2 3,814 10-12-2009, 07:57 PM
Last Post: Sudhamshu
  Counting no. of rows for a wbfgrid in a web based application sunny rao 3 6,817 11-07-2008, 02:25 PM
Last Post: MR21135

Forum Jump:


Users browsing this thread: 1 Guest(s)