Skip to content

Instantly share code, notes, and snippets.

@muramoto1041
Created June 4, 2020 07:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
excel_1.vba
#If VBA7 And Win64 Then
'64bit版 Private Declare PtrSafe Function GetWindowRect Lib "user32" (ByVal hWnd As LongPtr, lpRect As RECT) As Long
#Else
'32bit版 Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, lpRect As RECT) As Long
#End If
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment