¦p¦ó±N²{¦³¤u§@ï¸m³»?? (On Top)
- ©«¤l
- 11
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 51
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-11-14
- ³Ì«áµn¿ý
- 2018-8-6
|
¦p¦ó±N²{¦³¤u§@ï¸m³»?? (On Top)
¦p¦ó±N²{¦³¤u§@ï¸m³»?? (On Top) |
|
|
|
|
|
|
- ©«¤l
- 11
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 51
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-11-14
- ³Ì«áµn¿ý
- 2018-8-6
|
¦^´_ 5# bobomi
·PÁºô¤Íbobomi ¼ö¤ßªº¦^µª.....
ì¨Ón¥Îapi ¤~¸Ñ¨M±o¨ì
´ú¸Õ¹L¯uªº¥i¥H³á
§Únªº´N¬O³oÓ......¼F®`!!!!!¸U¤À·PÁ§A |
|
|
|
|
|
|
- ©«¤l
- 181
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 197
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2000
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2014-3-9
- ³Ì«áµn¿ý
- 2024-4-29
|
(1) ±¾API
or
(2) ±¾µ{¦¡
(1) ±¾API
Private Declare Function FindWindow Lib "USER32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowPos Lib "USER32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Sub AlwaysOnTop(³Ì¤W¼h As Boolean)
On Error Resume Next
h = Excel.Application.hwnd
If Err Then
h = FindWindow("XLMAIN", "Microsoft Excel - " & ThisWorkbook.Name)
End If
On Error GoTo 0
k = IIf(³Ì¤W¼h, -1, -2)
Call SetWindowPos(h, k, 0, 0, 0, 0, 3)
End Sub |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 3# samsung2888
¨S¿ìªk¥Ã»·´£¨ì³Ì¤W¡A¦Ó¬O°õ¦æ¨ì¤W±ªºµ{¦¡½X®É
·|§â"ExcelÀ³¥Îµ{¦¡"´£¨ì³Ì¤W¼h¦Ó¤w¡C
¦pªG§A«üªº¬OExcel¤u§@ªí³QUserForm»\¦í¡A¥i¥HקïUserformªºShowModalÄݩʬ°false |
|
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C
|
|
|
|
|
- ©«¤l
- 11
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 51
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-11-14
- ³Ì«áµn¿ý
- 2018-8-6
|
¸Õ¹L¤£¦æ©O!!!!§Ú·Qn§âExcelµøµ¡©ñ¨ìwindows³Ì¤W¼h.....always on top!!! |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 1# samsung2888
ThisWorkbook.Activate
AppActivate "MicroSoft Excel" |
|
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C
|
|
|
|
|