Private Declare Function
Private Declare PtrSafe Function
You can fix that but adjusting your code from
Rich (BB code):Private Declare Function
to
Rich (BB code):Private Declare PtrSafe Function
See https://docs.microsoft.com/en-us/pr...e/developer/office-2010/ee691831(v=office.14)