Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 10-17-2020, 02:33 AM
kiwimtnbkr kiwimtnbkr is offline Select next available mailing label by row and column? Windows 10 Select next available mailing label by row and column? Office 2016
Advanced Beginner
Select next available mailing label by row and column?
 
Join Date: Oct 2017
Posts: 69
kiwimtnbkr is on a distinguished road
Default

The attached workbook might assist better in seeing if what I want to do is actually doable in the first place. Note that the 'ToFrom' sheet is protected but there is no password, you should be able to just 'unprotect' it.

When the user form opens (and the guts of the code to make it run is attributable to @Guessed - thank you Andrew!), the 'To' and 'From' fields are populated with Column A data from the table found on the 'Inner Envelope' worksheet. The code then pulls the matching data from Column B for the 'To address' on the 'ToFrom' worksheet and the matching data from Column C for the 'From address' on the same worksheet.

A play with the user form will make up for the poor explanation above...

What I would like to see, if it's doable, is when the tick box in the 'outer packaging' frame is selected and the row and column number of the next available blank label is input (see the outer envelope worksheet which I have done up to represent a sheet of Avery address [L7183] labels) is that the matching 'To address' data is pulled from the appropriate row of Column D and placed in the 1st available blank label and that the matching 'From address' data is also pulled from the appropriate row of Column D and placed in the 2nd available blank label.

End game is that the Row x / Column B 'To address' on the 'ToFrom' worksheet matches the Row x / Column D 'To Address' filled in on the first selected blank label and that the Row x / Column C 'From Address' on the 'ToFrom' worksheet matches the Row x / Column D 'From Address' filled in on the second blank label.

All of the individual shapes on the 'outer envelope' worksheet have been given an Alt Text name of 'OutLabeln' where 'n' is their equivalent label number on the Outer Envelope worksheet - if that helps with coming up with a solution.

NOTE - The individual shapes are there more for the visual effect and could be deleted if necessary to leave just the cell which is sized to the same size as the actual label.

Quote:
Originally Posted by macropod View Post
If you're trying to do this via mailmerge, see: https://www.msofficeforums.com/73079-post6.html
I would REALLY like to try and avoid using Mailmerge unless it is seamless for the user and the label printing 'just happens' after they have selected and filled in the appropriate data in the Userform.
Attached Files
File Type: xlsm Mailing Label v2 - 17_10.xlsm (84.1 KB, 11 views)

Last edited by kiwimtnbkr; 10-17-2020 at 02:56 PM. Reason: edited for clarity
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to select multiple criteria from same column? LearnerExcel Excel 1 03-10-2018 07:41 AM
move the milestone label to left of column wilster31 Project 0 07-31-2017 07:58 AM
Error message in pivot when i try drag and placing a column in the row label olybobo Excel 0 05-10-2016 02:05 PM
Select next available mailing label by row and column? A non mailing label? markg2 Mail Merge 1 12-22-2011 04:07 PM
Select next available mailing label by row and column? Mailing label help needed... Lisa Cotton Word Tables 1 04-14-2011 04:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft