ich habe lange an einer Exceltabelle gearbeitet. Auch mit viel Hilfe aus diesem Forum. Nun wurde mein Rechner auf 64 bit umgestellt. Ich bekomme natürlich beim Öffnen der Excel Tabelle eine Fehlermeldung. Die Meldung besagt, das die Declare Anweisungen aktualisiert werden müssen und Sie mit dem PtrSafe-Attribut markiert werden müssen. Bei mir verursacht es ein großes Fragezeichen.
Ich bitte höflichst hier um Hilfe.
Hier der Text, der angeblich geändert/angepasst werden muss:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" ( _
ByVal hWnd As Long, _
ByVal nIndex As Long) 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 Declare Function DrawMenuBar Lib "user32" ( _
ByVal hWnd As Long) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _
ByVal hWnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As Any) As Long
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function SetWindowRgn Lib "user32" ( _
ByVal hWnd As Long, _
ByVal hRgn As Long, _
ByVal bRedraw As Boolean) As Long
Private Declare Function ScreenToClient Lib "user32" ( _
ByVal hWnd As Long, _
lpPoint As POINTAPI) As Long
Private Declare Function GetWindowRect Lib "user32" ( _
ByVal hWnd As Long, _
lpRect As RECT) As Long
Private Declare Function CreateRectRgnIndirect Lib "gdi32" ( _
lpRect As RECT) As Long
Ich hoffe hier kann mir geholfen werden.
Schöne Grüße Ansgar