Dear Rohan I was trying to do it for me but I could not I am attaching the work sheet Please do it and please let me know what is the problem Why I could not do it? If I am doing it I can see only heading Please help Thanks in advanced Regards Shrinivas
On Tue, Dec 20, 2011 at 7:11 PM, Shrinivas Shevde <shrinivas...@gmail.com>wrote: > Very very thanks for help > > > On Mon, Dec 19, 2011 at 1:10 PM, Rohan <bittu.ro...@gmail.com> wrote: > >> If you can replicate this for your own sheet....well and good. Else >> send the worksheet over the group as an attachemnt and I will work >> that out. !! Thank you ! >> >> >> Sub Test() >> Dim SDate As Date Dim EDate As Date LR = >> Range("A1").End(xlDown).Row SDate = InputBox("Put the date from >> when you want to take print out?") EDate = InputBox("Put the last >> date till what you want to take print out?") >> Sheets("Sheet1").Select For i = SDate To EDate >> Rows("1:1").Select Selection.AutoFilter >> ActiveSheet.Range("A1:B" & LR).AutoFilter Field:=1, Criteria1:=i >> ActiveWindow.SelectedSheets.PrintOut Copies:=1 >> Rows("1:1").Select Selection.AutoFilter Next i >> End Sub >> >> Regards, >> Rohan >> >> -- >> FORUM RULES (934+ 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 >> > > > > -- > Shrini > -- Shrini -- 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
shrinidata16012012.xlsm
Description: Binary data