Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-27-2018, 01:09 AM
Fissure Fissure is offline Need help with userform and radio buttons Windows 10 Need help with userform and radio buttons Office 2013
Novice
Need help with userform and radio buttons
 
Join Date: Apr 2018
Posts: 2
Fissure is on a distinguished road
Default Need help with userform and radio buttons

Hi there working on a word document and having some issues with some quality of life functions.

The document uses a userform where the user inputs some base data and then the userform fills it into the right areas in the document. There is also some different choices available for the user to check using radio buttons. They each hide certain text depending on the radio button chosen. So far it all works as expected but I am having issues when users reopen the document after saving. The radio buttons are blank and have to be pressed again. This requires the user recheck them again and increases the risk of chosing the wrong stuff or forgetting pressing them.
Now I know this is the way radio buttons work but I am wondering if there is a way to make them be pre selected depending on what text within a certain bookmark is hidden or not in the document.

tried the follwing within userform_Activate ()
With ActiveDocument
If ActiveDocument.Bookmarks("LJSidor1").Range.Font.Hi dden = True Then
Me.LJNejKnapp = True
Else
Me.LJJaKnapp = True
End If
End With

Where "LJSidor1" is one of the bookmarks that hides a certain part of the document depending on the choice of the "LJNejKnapp" button or "LJJaKnapp" button.



Is it possible to do something like this or am I wasting my time, is there any other way to accomplish the same thing?


Any help would be appriciated !

//john
Reply With Quote
 

Tags
radio button, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio Buttons in Word Document in MAC Office 2016 kim88 Word 3 12-19-2016 03:36 PM
Radio buttons in a particular page gets disabled when i scroll down and return back to that page. arnprd Word 0 06-18-2015 10:54 AM
check box issue (problem with radio buttons from web page) Word 2013 cQQlgirl Word 6 03-19-2015 07:23 PM
Need help with userform and radio buttons Performance problem ActiveX radio buttons NobodysPerfect Word VBA 8 05-31-2014 03:51 AM
example of radio buttons in for data entry? derohanes Excel 1 03-05-2011 09:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:38 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