DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Test()
Dim WSH_Shell As Object
Dim MyVer As String, RegKey As String
Dim MySetting As Integer
MyVer = Application.Version
RegKey = "HKCU\Software\Microsoft\Office\" & MyVer & "\Excel\Security\Level"
Set WSH_Shell = CreateObject("WScript.Shell")
WSH_Shell.RegWrite RegKey, 4, "REG_DWORD"
End Sub
Sub Test2()
Dim WSH_Shell As Object
Dim MyVer As String, RegKey As String
Dim MySetting As Integer
MyVer = Application.Version
RegKey = "HKCU\Software\Microsoft\Office\" & MyVer & "\Excel\Security\AccessVBOM"
Set WSH_Shell = CreateObject("WScript.Shell")
WSH_Shell.RegWrite RegKey, 1, "REG_DWORD"
End Sub
Sub Test3()
Dim WSH_Shell As Object
Dim MyVer As String, RegKey As String
Dim MySetting As Integer
MyVer = Application.Version
RegKey = "HKLM\Software\Microsoft\Office\" & MyVer & "\Excel\Security\AccessVBOM"
Set WSH_Shell = CreateObject("WScript.Shell")
WSH_Shell.RegWrite RegKey, 1, "REG_DWORD"
End Sub
Durumu düzeltmek için aşağıdaki kodu kullanın.Sezar' Alıntı:....
Güvenilen Yayımcılık ta ki checkbox artık Enable=false olmuş durumda.
Onu seçemiyorum.
Checkbox'ın Seçilebilir durumda olması, tekrar enable=true olması mümkünmü acaba?
Sub PanZehir()
Dim WSH_Shell As Object
Dim MyVer As String, RegKey As String
Dim MySetting As Integer
MyVer = Application.Version
RegKey = "HKLM\Software\Microsoft\Office\" & MyVer & "\Excel\Security\AccessVBOM"
Set WSH_Shell = CreateObject("WScript.Shell")
WSH_Shell.RegDelete RegKey
End Sub