ok skip again you spent lot of time for me. thanks a lot. whcih variable should i check in watch window. so that i can check all variable in the function
SKIP!
Nothing showing in watch window when it comes on 08/22/08 fall in friday. it skips the below code and it goes to end if. strCurrent Day = friday.
If strCurrentDay = "Friday" And strNextDay = "Saturday" And strAfterNextday = "Sunday" Then
ElseIf strCurrentDay = "Friday" And...
I have another issue with somedates are missing.
code in vba
when i click the button it reads from the open text file name QrtlyRateDel.txt and writes QrtlyRateExludeMEdate.txt
this is the sample text file for qrtlyRateDel
ABCD,RUP,MKNT,08/29/08 0.21200000
ABCD,RUP,MKNT,08/28/08...
sorry i missed another line
LastDay = Day(DateSerial(intOriginYear, intOriginMonth + 1, 0))
Date = intOriginMonth & "/" & LastDay & "/0" & intOriginYear
Msgbox Date
just date serial function
this shows 07/31/08 how come july has 31 days. what is the error in below one.
LastDay = Day(DateSerial(intOriginYear, intOriginMonth + 1, 0))
Msgbox LastDay
Skip
thank you very much for your precious time. i am still struggling. i am trying to do from the screen.
Sess0.Screen.Sendkeys("<HOME>")
Sess0.Screen.Sendkeys("GU<Tab>abcd,USD,")
Sess0.Screen.PutString "???",1,20
Sess0.Screen.PutString ConstStr,1,23
Sess0.Screen.PutString...
skip thanks
i am writing macro in attachmaent. so the above macro which i provided can i include yours and try.
and please i am so confused where do i have to includeyours.
Skip
the above macro has checking from current year to last 10 years. but i need to check only current year and previous year . i did checked
year (now ) and
year (now)-1
but still it is beyond that checking.
could you help me
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.