am giving to one number u can set into that in date format.u
can use any methods

Answer Posted / manjunathareddy

Yes,U can write any Date format.

Refer the below Example.

Set oExcel=GetObject("","Excel.Application")
Print oExcel.Text("12/03/12","DD-MMM-YY")



Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what types of bugs will we find out in banking projects for automation testing?

2014


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2284


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2799


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2737


what is the features of visual basic?

1785


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1882


Explain the tristate constants in vbscript?

800


Explain different types of segment?

809


What are the uses of vb script?

824


Why to use option explicit in vb script?

819


How can you destroy an object in vbscript?

897


How will you reverse a string in vbscript?

868


What if you do not specify anything when you call a procedure?

828


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

2050


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

2512