try this Sub test() Dim i As Long ' 5 bcoz data starts from n5 to n22 For i = 5 To 22 Range("g4").Value = Range("n" & i).Value Range("g5").Value = Range("o" & i).Value ' ActiveSheet.PageSetup.PrintArea = "$A$1:$l$20" ActiveWindow.Selection.PrintOut Copies:=1 Next i End Sub
On Tue, Jul 5, 2011 at 7:51 PM, Azeem Quraishi (HAB5) <aqurai...@ccc.ae>wrote: > Hi All**** > > ** ** > > ** ** > > I have excel file which I attached I am not able to create macro because I > need to print each test no each page manually taking more time please **** > > I need any macro and any method easy which is I can print at a time all > test number per printout separate.**** > > ** ** > > ** ** > > Appreciate your support in advance.**** > > ** ** > > * * > > *Best Regards* > > * * > > * * > > *Syed Azeem Quraishi* > > ** ** > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- *Regards* * * *Ashish Koul* *akoul*.*blogspot*.com <http://akoul.blogspot.com/> http://akoul.posterous.com/ *akoul*.wordpress.com <http://akoul.wordpress.com/> My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> P Before printing, think about the environment. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel