Horje
vba declare api 64 bit 32 bit Code Example
vba declare api 64 bit 32 bit
' At the top of your module: works for both 32 and 64 bits
#If VBA7 Then
Public Declare PtrSafe Function GetVersionExA _			' 64 bits
        Lib "kernel32" (lpVersionInformation As OSVERSIONINFO) As Integer
#Else
  Public Declare Function GetVersionExA _				' 32 bits
        Lib "kernel32" (lpVersionInformation As OSVERSIONINFO) As Integer
#End If




Vb

Related
excel vba autofit Code Example excel vba autofit Code Example
vba ubound array 2-dimensional Code Example vba ubound array 2-dimensional Code Example
ms access open form to new record Code Example ms access open form to new record Code Example
vba folderexists Code Example vba folderexists Code Example
excel format cell as kilowatts Code Example excel format cell as kilowatts Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7