DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Application.WindowState = xlMaximized
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
Private Declare Function apiShowWindow Lib "user32" _
Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
'
Private Sub UserForm_Activate()
Set objShell = CreateObject("Shell.Application")
Set objWindows = objShell.Windows
For Each Prog In objWindows
If (InStr(1, Prog, "Internet Explorer", vbTextCompare)) Then
apiShowWindow Prog.hwnd, 2
End If
Next
End Sub
Private Declare Function apiShowWindow Lib "user32" _
Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
#If Win64 Then
Private Declare PtrSafe Function apiShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
#Else
Private Declare Function apiShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
#End If
'
Private Sub UserForm_Activate()
Set objShell = CreateObject("Shell.Application")
Set objWindows = objShell.Windows
For Each Prog In objWindows
If (InStr(1, Prog, "Internet Explorer", vbTextCompare)) Then
apiShowWindow Prog.hwnd, 2
End If
Next
End Sub