ngocaudo
Thành viên mới
![](/diendan/data/PhoToDanhHieu/gold.gif)
- Tham gia
- 12/3/19
- Bài viết
- 2
- Được thích
- 0
E có tải 1 file excel nhưng chay trên ex2010 thì báo lỗi này các bác sửa giúp e được ko a./
Option Explicit
'*********************************************************************************************
Private Declare FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private isFocus As Boolean, isClose As Byte, Usr As Variant, Pwd As Variant
'*********************************************************************************************
Option Explicit
'*********************************************************************************************
Private Declare FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private isFocus As Boolean, isClose As Byte, Usr As Variant, Pwd As Variant
'*********************************************************************************************