Taking an excel userform textbox values and applying them to a label printed in Microsoft Word

Pookiemeister

Well-known Member
Joined
Jan 6, 2012
Messages
563
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
My company used to use printed sheets of paper with the product information which was then tape to the pallet of finished goods all this was done with an excel userform. Now they have gone to adhesive labels printed from Microsoft Word. Since I am not familiar with VBA within Microsoft Word, I am not sure how I can achieve the same thing. The new labels are manually typed in. The setup of the adhesive label is as follows:
  1. Top left corner contains a value in Calibri Font; Size:9
  2. Top right corner contains a value in Calibri Font; Size:9
  3. Bottom left corner contains a value in Calibri Font; Size:9
  4. Bottom right corner contains a value in Calibri Font; Size:9
  5. The center of the label contains the pallet number in Calibri Font; Size:12
So to paraphrase how do I go about taking the values from an excel userform and placing those values in specific spots on a label using VBA code. I hope this explanation makes sense.

Thank You
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Assuming all of the data's contained in a spreadsheet, it seems the simplest way to achieve this would be to make the Word label a MailMerge one, then just use the fields to populate the label.
 
Upvote 0

Forum statistics

Threads
1,214,886
Messages
6,122,093
Members
449,064
Latest member
Danger_SF

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top