Try this

 

Sub PrintPerpage()

Dim rng As Range

Dim cell As Range

Set rng = Sheets("OD_New").Range("N5:N23")

 

        For Each cell In rng

        Range("G4").Value = cell.Value

        Range("G5").Value = cell.Offset(0, 1).Value

        ActiveWindow.SelectedSheets.PrintOut Copies:=1

        Next

    

End Sub

 

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of Azeem Quraishi (HAB5)
Sent: Tuesday, July 05, 2011 7:51 PM
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ 

 

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

-- 
----------------------------------------------------------------------------------
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

Reply via email to