OK. Do you know anything about vbcode? A recorded macro won't work on 'moving targets'.
I would do the following;
- Set a range name for ALL the data (i.e. 4c x 150r) and give it the name 'alldata' or something. If you extend the range slightly beyong the last entry this will allow you to add items without them falling outside of the range.
- set an action to sort the data based on the qty column, so that any empty ones go to the bottom. You can set a secondary sort criteria to sort the data you want to print, such as description.
- When it's sorted, start at the top left cell, select 'end' 'down', which will take you to the last cell with data, then offset (in this case 3) to the last column.
- The range you now have highlighted is then printed.
I'm assuming you're up to speed on coding etc. If not I guess this sounds a bit complicated, but just me know and I'll knock up a prototype for you - it's pretty straighforward.