Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2014, 02:12 PM
gmaxey gmaxey is offline Option Button selected will display text Windows 7 32bit Option Button selected will display text Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,621
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default


Yes, the text displayed here is the text associated with the option button selected.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #2  
Old 07-10-2014, 06:58 AM
ksigcajun ksigcajun is offline Option Button selected will display text Windows 7 64bit Option Button selected will display text Office 2010 64bit
Advanced Beginner
Option Button selected will display text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
Yes, the text displayed here is the text associated with the option button selected.
I've tried for a week and still cant get the text to clear if a user decides to click the other option button.

I'm trying to come up with Plan B. Can I clear the text in the bookmark?

Here is where Im at.

Code:
Option Explicit
Dim oBM As Bookmark
Dim oRng As Range
Private Sub OptionButton111_Click()
ActiveDocument.Undo
If Me.OptionButton111.Value = True Then
   Set oRng = ActiveDocument.Bookmarks("BM2").Range
   oRng.Text = "Bids should be sent via email to the email addresses listed above. In the alternative, if Bidder does not intend to bid on this Project, please submit your confirmation of NO BID via email to the email address listed above."
   ActiveDocument.Bookmarks.Add "BM2", oRng
   If Me.OptionButton211.Value = False Then
   **Not sure what I can add here to clear the text**   
End If
End If
End Sub
 
Private Sub OptionButton211_Click()
ActiveDocument.Undo
ActiveDocument.Undo
If Me.OptionButton211.Value = True Then
  Set oRng = ActiveDocument.Bookmarks("BM3").Range
   oRng.Text = "All bids must be sealed and received at the address listed above. Any bid received after that time may, at COMPANY'S sole discretion, be returned unopened.  The bid opening will be private. In the alternative, if Bidder does not intend to bid on this Project, please submit your confirmation of NO BID via email to the email addresses listed above."
   ActiveDocument.Bookmarks.Add "BM3", oRng
   If Me.OptionButton211.Value = False Then
**Not sure what I can add here to clear the text**
   End If
    End If
End Sub
Reply With Quote
  #3  
Old 07-14-2014, 09:31 AM
ksigcajun ksigcajun is offline Option Button selected will display text Windows 7 64bit Option Button selected will display text Office 2010 64bit
Advanced Beginner
Option Button selected will display text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Nevermind, Greg.

I was able to correct the issue. Thanks again for the help!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Display paragraph of text based on value selected in combo WordWaza Word 0 08-09-2013 06:30 AM
Option Button selected will display text Can you create a button that indicates the status of markup display? New Daddy Word 1 01-25-2013 12:35 AM
Recent file display option at MS word Patrick Lau Word 0 08-16-2010 11:22 PM
Help on option button active X aligahk06 Excel 0 11-03-2009 11:39 PM
Option Button ( ACtive X Control ) aligahk06 Excel 0 11-03-2009 06:36 AM

Other Forums: Access Forums

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