12 Replies Latest reply on Jun 6, 2013 8:26 PM by rdube02

    Opening a Display with a VBA Command Button

    emladeira

      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