Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2020, 09:24 PM
Guessed's Avatar
Guessed Guessed is offline Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet Windows 10 Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Perhaps the easiest solution is to add some code in the form's Initialize event to reset the default views on the worksheet.

You could also get that code to read the status of the worksheet to 'prefill' the userform settings to match the current status of the worksheet. This would avoid the need to reset everything when you only want to make a single change. It would probably require an extra button to clear an option though since it is not immediately apparent how to clear ALL options once one has been selected.

If you want to control the visual label positions WHILE the userform is showing then you need to add code to run as checkboxes and Option buttons are manipulated. At the moment all the magic happens AFTER you click the "Create inner..." button but you can move that out to all of the option/checkbox "on change" events if you want to micromanage it.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 10-05-2020, 12:20 AM
kiwimtnbkr kiwimtnbkr is offline Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet Windows 10 Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet Office 2016
Advanced Beginner
Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet
 
Join Date: Oct 2017
Posts: 69
kiwimtnbkr is on a distinguished road
Default

Hi Andrew,

I understand the concept of what you're saying but I have no concept on how to even begin the coding for it... definitely way way above my level of understanding of VBA.

Thanks heaps for all the assistance you have provided me - it is absolutely appreciated. Just wish that I was able to catch up with you and shout you a couple of beers in appreciation!

cheers
Mike
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to link a cell from one worksheet to another gambo Excel 1 01-18-2019 10:26 AM
Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet How to populate a userform combobox from an excel worksheet jrooney7 Word VBA 14 09-16-2018 08:52 PM
Userform calls other userform, then populate worksheet Lehoi Excel Programming 0 02-03-2016 02:58 PM
link worksheet on shared file hifrank Word 0 06-24-2015 07:29 AM
Link UserForm checkbox to corresponding shape on one worksheet and copy to 'template' worksheet How do you copy a row from one worksheet to another? mars1886 Excel Programming 3 02-11-2014 02:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:45 PM.


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