- Katılım
- 11 Kasım 2005
- Mesajlar
- 454
- Excel Vers. ve Dili
- Windows 2011 TR
MS Office 365 TR - 64bit
VBA, Selenium ve VBS
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Dim X As New Class1
Sub Register_Event_Handler()
Set X.App = Word.Application
End Sub
Sub test()
With ActiveDocument
SonrakiGun = DateSerial(Year(Date), Month(Date), Day(.Fields(1).Result) + 1)
.Unprotect
.Fields(3).Result.Text = SonrakiGun
.Tables(1).Cell(1, 1).Range.Text = SonrakiGun
.Protect wdAllowOnlyReading
End With
End Sub
Public WithEvents App As Word.Application
Private Sub App_WindowSelectionChange(ByVal Sel As Selection)
test
End Sub
Private Sub Document_Open()
Call Register_Event_Handler
Call test
End Sub