Building a shipping label program

L

Lost in excel

I want to build a template that when the user keys in a customer number, it
fills in the template with the shipping address and allows them to ask how
many labels and have them print on our label printer. I would love the
general outline on how to do this.

Thanks much
Greg
 
G

Gord Dibben

Data Validation>List dropdown menu for the entry of the number.

VLOOKUP tables formula(s) for the filling-in of addresses.

You would need VBA to use an InputBox to collect the number of labels then
print that many.

example code.

Sub print_labels()
Dim numlabs As Integer
numlabs = InputBox("Enter number of labels to print")
ActiveSheet.Range("C4:F7").PrintOut Copies:=numlabs
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top