emladeira

Opening a Display with a VBA Command Button

Discussion created by emladeira on Aug 27, 2012
Latest reply on Jun 6, 2013 by rdube02

How do I open a Display within a ProccessBook using a VBA command button. I've used this code, but it doesn't work

 
Private Sub cb1_Click()
Dim myDisplay As New Display
Set myDisplay = Application.Displays.Open("PN-00")
End Sub

 

Outcomes