Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-13-2014, 12:52 AM
Catty Catty is offline How to hide an activeX label in word 2010 Windows 7 32bit How to hide an activeX label in word 2010 Office 2010 32bit
Advanced Beginner
How to hide an activeX label in word 2010
 
Join Date: Nov 2013
Posts: 39
Catty is on a distinguished road
Default How to hide an activeX label in word 2010

Hi,



I'm trying to hide a few of labels when printing if the label caption/text is "Y/N". Below is the code I'm using:

Code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)

If lbl_Slave1 = "Y/N" Then
Me.lbl_Slave1.Visible = False
Else
Me.lbl_Slave1.Visible = True
End If

End Sub
But obviously this is not working. Any ideas where I'm going wrong or how to best do this?

Thanks!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide an activeX label in word 2010 Word 2010 Manage Styles dialog and 'Hide Until Used' Pluviophile Word 10 11-25-2013 12:40 PM
Userform label bordercolor not controllable if click label skarden Word VBA 1 09-29-2013 07:27 PM
How to hide an activeX label in word 2010 What label option is being used in this Word doc? boy33 Mail Merge 1 01-30-2013 03:11 PM
Word Form/ActiveX drop down menu/value in a different field AMackenzieFFCU Word VBA 1 01-14-2013 07:48 AM
Need help with placeholder text in ActiveX controls in Word mhellerstein Office 0 11-02-2011 12:31 PM

Other Forums: Access Forums

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