Hi all,
So have a macro that is copying a worksheet (a Purchase Order template) so that I can automate making copies of said template and changing the PO no. in the new copy. See below...
Please Login or Register to view this content.
That is all working fine and pretty straightforward up to that point.
However what I would now like to do is add some code to this macro so that it will only action the copy and create new PO code for those PO numbers listed on a sheet I already have called 'Control Sheet' that lists the actual PO sheets required.
That sheet looks like this:
Header in A1 'Sheet Name' and in B1 'Print?
and then down column A = A2: 'PO 1' A3: 'PO 2' etc. etc.
and down column B = B2: 'PRINT', B3: 'PRINT' etc. etc.
A B
Row 1 Sheet Name Print?
Row 2 PO 1 PRINT
Row 3 PO 2 PRINT
Row 4 PO 3 PRINT
Row 5 PO 4 PRINT
Row 6 PO 5 PRINT
Any help will be gratefully received.
Thank you very much in advance!
Oliver
Bookmarks