Replace this one:
.Offset(lngCellLoop, 1).Value = WorksheetFunction.Text(TimeSerial(Hour(.Offset(lngCellLoop, -1).Value) + (4 * objDic.Count) + 24, Minute(.Offset(lngCellLoop, -1).Value), Second(.Offset(lngCellLoop, -1).Value)), "[h]:mm:ss") Regards Rajan verma +91 7838100659 [IM-Gtalk] From: Rajan_Verma [mailto:rajanverma1...@gmail.com] Sent: 04 August 2012 4:12 To: 'excel-macros@googlegroups.com' Subject: RE: $$Excel-Macros$$ Run-time error popup message Replace error line with this : .Offset(lngCellLoop, 1).Value = Format(CDate(.Offset(lngCellLoop, -1).Value + (4 * objDic.Count)), "hh:mm:ss") Regards Rajan verma +91 7838100659 [IM-Gtalk] From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of lokesh Sent: 02 August 2012 5:59 To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Run-time error popup message Hi All, When I am clicked the Get Report to know monthly report I got the error popup message window saying that "Run-time error'13 in VBA'" , hence I did not get the monthly report. Please find the above attached print screen of VBA line error and do the needful. Regards Lokesh.M -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.