+ Reply to Thread
Results 1 to 7 of 7

Loop Print Macro

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Loop Print Macro

    This involves two worksheets for the purposes of this they will be "Sheet1" and "Sheet2". "Sheet1" is a report which utilizes a validation (list) of items in columnA of "Sheet2" (starting at row8 otherwise A8 and down). This validation is found on cell F12 of "Sheet1" and uses vlookups to populate the report based upon the value chosen from "Sheet2". The value chosen will then populate the vlookup with data from across the row of that value. I am looking to make a loop print that will print a "Sheet1" report for all values in "Sheet2" that have the status of "NO" in columnV. So essentially how it works is the macro itself will run the validation for items with "NO" populate the report print it then move on to the next.

    See similar thread for somewhat of same concept: http://www.mrexcel.com/forum/excel-q...cro-twist.html
    Thanks in advance.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,615

    Re: Loop Print Macro

    To attach a Workbook
    (please do not post pictures of worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Loop Print Macro

    Proton,

    Are you asking that I attach the workbook?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,615

    Re: Loop Print Macro

    Yes, please...

  5. #5
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Loop Print Macro

    (PSM-14-02) PSAudit.xlsm

    Proton attached is the workbook. WS Name "PSM-14-02A" is the report file cell F12 contains the validation list. WS Name "Recommendations" is the database if you look in columnV it identifies status of "Yes" or "No". What I want the macro to do is run the validation for all "No" and print the report individually for each.

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,615

    Re: Loop Print Macro

    Please Login or Register  to view this content.
    Last edited by protonLeah; 04-14-2014 at 10:02 PM.

  7. #7
    Forum Contributor
    Join Date
    04-23-2012
    Location
    Bradford PA
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Loop Print Macro

    Quote Originally Posted by protonLeah View Post
    Please Login or Register  to view this content.
    Proton,

    Works perfectly if I could give you a thousand *Rep I would

    Jared

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel 2007 - Print Macro - Infinite Loop Issue
    By Fraenk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2012, 07:50 AM
  2. VBA. identify unique values, loop them, filter them in, set print area & print it
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2012, 09:56 PM
  3. Macro to Loop Print 1 Template multiple times
    By run2win17 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2011, 03:29 PM
  4. Macro to loop through sheets and print them out using an array
    By Masact in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2009, 04:00 PM
  5. Macro for Print Loop within Excel
    By Browner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-18-2006, 08:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1