Вот такой код:
- Код: Выделить всё
Public WithEvents App As Application
Privat Sub App_SlideShowBegin(ByVal Wn As SlideShowWindow)
Slide1.TextBox1.Value = "123"
End Sub
Public WithEvents App As Application
Privat Sub App_SlideShowBegin(ByVal Wn As SlideShowWindow)
Slide1.TextBox1.Value = "123"
End Sub
Dim X As New Class1
Sub InitializeApp()
Set X.App = Application
End Sub
Dim X As New Class1
Sub Auto_open()
Set X.App = Application
End Sub
Public WithEvents App As Application
Private Sub App_SlideShowBegin(ByVal Wn As SlideShowWindow)
Application.Run "InitApp"
End Sub
Sub InitApp()
Slide1.TextBox1.Text = "7878787"
End Sub
Сейчас этот форум просматривают: AhrefsBot и гости: 62