I am working on a project where I need to take a data set, sort it onto individual tabs, and then print the data from the tab onto a sheet of labels. I have it figured out but there is one last piece of the puzzle that I am missing. I would like to be able to only print labels for the amount of rows I have.
Just to clue you in, I am VBA illiterate and probably work 10 times harder to get to the same result because of it.
Background:
I get a list of parts in excel that includes part numbers, description, storage location, etc.
list.JPG
I then would have to filter it by storage location and print it to give the person retrieving the parts. Re-filter for another loction....print... I created a workbook that allows me to copy and paste the data on a tab and then sorts the data into individual tabs and then I set a dynamic print range on each tab. Now I just paste my data set, click on the first tab, hold shift and click on the last tab and print. Bingo!
sort.JPG
Now they want me to instead print each tab onto individual labels for each part number.
I have the template for the label sheet set up in excel. I have the data automatically populate the label in the correct format by using Concatenate with links to the corresponding tab. I just cannot seem to be able to wrap my head around how to create a dynamic range to only print labels that I have data for and not a set number of labels each time.
label.JPG
The people that use this can barely do much more than the copy and paste so I am trying to make it fairly bomb proof. I would like to paste the data, click on a tab and print. If possible. I saw 'mail merge' but I am afraid that the extra step and additional program would create huge issues and I would be fighting fires all day.
Thanks!
Dave
Bookmarks